floats method Null safety

List<double> floats(
  1. int length
)

Implementation

List<double> floats(int length) {
  final ret = _byteData.buffer.asFloat32List(_readPos, length).toList();
  _readPos += length * 4;
  return ret;
}