addDouble method Null safety

void addDouble(
  1. double val
)

Add a 64 bit double

Implementation

void addDouble(double val) {
  final tmp = Float64List.fromList(<double>[val]);
  _payload!.addAll(tmp.buffer.asInt8List());
}