rotateImage method

  1. @override
Future<String> rotateImage(
  1. String fileName, {
  2. required double degree,
})
override

Implementation

@override
Future<String> rotateImage(String fileName,{required double degree}) async{
 var filePath =  await methodChannel.invokeMethod<String?>(
      'rotate_image', {'file': fileName,'degree':degree});
 return filePath ?? '';
}