convertHeicToJpeg method

  1. @override
Future<File> convertHeicToJpeg(
  1. File file
)
override

Implementation

@override
Future<File> convertHeicToJpeg(File file) async {
  final String? convertedPath = await methodChannel.invokeMethod(
    'convertHeicToJpeg',
    {'path': file.path},
  );
  return convertedPath != null ? File(convertedPath) : file;
}