Integer constructor Null safety
- int num,
- {ErrorGenerator? error_generator}
Used to integer a integer into nbt data
Implementation
Integer(int num, {ErrorGenerator? error_generator}) {
set(num);
if (error_generator != null) super._gen = error_generator;
}