decryptFile method
Implementation
@override
Future<bool> decryptFile({required String inputPath, required String outputPath, required String key, String? iv}) async{
try {
final Map<String, dynamic> args = {
'inputPath': inputPath,
'outputPath': outputPath,
'key': key,
};
if (iv != null) {
args['iv'] = iv;
}
final bool result = await methodChannel.invokeMethod('decryptFile', args);
return result;
} on PlatformException {
return false;
}
}