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