Double constructor

Double(
  1. double num, {
  2. 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;
}