Byte constructor Null safety

Byte(
  1. int num,
  2. {ErrorGenerator? error_generator}
)

Used to insert a byte into nbt data

Implementation

Byte(int num, {ErrorGenerator? error_generator}) {
  set(num);
  if (error_generator != null) super._gen = error_generator;
}