handleAndGetUint8List method
Implementation
Future<Uint8List?> handleAndGetUint8List(ImageEditorOption option) async {
return _handle(() async {
switch (_type) {
case SrcType.file:
return NativeChannel.fileToMemory(_file!.path, option);
case SrcType.memory:
return NativeChannel.memoryToMemory(_memory!, option);
}
});
}