getBytes method

Uint8List getBytes()

Implementation

Uint8List getBytes() {
  final allBytes = WriteBuffer();
  for (final Plane plane in planes) {
    allBytes.putUint8List(plane.bytes);
  }
  return allBytes.done().buffer.asUint8List();
}