convertHeicToJpegBytes method

  1. @override
Future<Uint8List> convertHeicToJpegBytes(
  1. Uint8List bytes
)
override

Implementation

@override
Future<Uint8List> convertHeicToJpegBytes(Uint8List bytes) async {
  final Uint8List? convertedBytes = await methodChannel.invokeMethod(
    'convertHeicToJpegBytes',
    {'bytes': bytes},
  );
  return convertedBytes ?? bytes;
}