writeDouble method

void writeDouble(
  1. double? value
)

Implementation

void writeDouble(double? value) {
  if (value == null) {
    writeNil();
    return;
  }

  _bytesBuilder.addByte(MessagePackCode.float64);
  _writeBigEndianDouble(value);
}