Float constructor Null safety
- double num,
- {ErrorGenerator? error_generator}
Used to insert a float into nbt data
Implementation
Float(double num, {ErrorGenerator? error_generator}) : _number = num {
if (error_generator != null) super._gen = error_generator;
}