Byte.Boolean constructor Null safety
- bool b,
- {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;
}