getDrawingAsBytes method

Future<Uint8List?> getDrawingAsBytes()

Returns the current drawing as a byte array.

Implementation

Future<Uint8List?> getDrawingAsBytes() {
  return canvasKey.toBytes();
}