addHalfDouble method Null safety

void addHalfDouble(
  1. double val
)

Add a 32 bit double

Implementation

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