getFloat64 method Null safety

double getFloat64(
  1. {Endian? endian}
)

Reads a Float64 from the buffer.

Implementation

double getFloat64({Endian? endian}) {
  _alignTo(8);
  final double value = data.getFloat64(_position, endian ?? Endian.host);
  _position += 8;
  return value;
}