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