getInt64List method Null safety

Int64List getInt64List(
  1. int length
)

Reads the given number of Int64s from the buffer.

Implementation

Int64List getInt64List(int length) {
  _alignTo(8);
  final Int64List list = data.buffer.asInt64List(data.offsetInBytes + _position, length);
  _position += 8 * length;
  return list;
}