convert method
Implementation
@override
Future<Uint8List?> convert(
Uint8List imgBytes,
int width,
int height,
int quality
) async {
if(Platform.isIOS) {
throw UnimplementedError('convert(*) has not been implemented for iOS');
}
final result = await methodChannel.invokeMethod('convert', {
"bytes": imgBytes,
"width": width,
"height": height,
"quality": quality
});
return result;
}