Byte.Boolean constructor

Byte.Boolean(
  1. bool b, {
  2. ErrorGenerator? error_generator,
})

Used to insert a boolean into nbt data

Implementation

Byte.Boolean(bool b, {ErrorGenerator? error_generator}) {
  set(b);
  if (error_generator != null) super._gen = error_generator;
}