writeDouble method Null safety

  1. @override
void writeDouble(
  1. double n
)
override

Writes double n into the buffer

  • n: the value to write

Implementation

@override
void writeDouble(double n) {
  writeUint8(types.float64);
  writeFloat64(n);
}