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