decryptFile method
Implementation
@override
Future<bool> decryptFile(
String sharedSecret, String ctPath, String ptPath) async {
final result = await _methodChannel.invokeMethod<Map<dynamic, dynamic>>('decryptFile', {
'sharedSecret': sharedSecret,
'ctPath': ctPath,
'ptPath': ptPath,
});
if (result == null
|| result["opOk"] == null
) {
throw PlatformException(code: "decryptFile(): Error retrieving opOk");
}
return result["opOk"];
}