getBytes method Null safety

Uint8List getBytes(
  1. int size
)

Implementation

Uint8List getBytes(int size) {
  return Context.getBytesFromPointer(_getDataPtr(), size);
}