decryptService method
Implementation
Future<DecryptedService> decryptService(String sdkId, EncryptedService service) async {
final res = await _methodChannel.invokeMethod<String>(
'ContactApi.decryptService',
{
"sdkId": sdkId,
"service": jsonEncode(EncryptedService.encode(service)),
}
);
if (res == null) throw AssertionError("received null result from platform method decryptService");
final parsedResJson = jsonDecode(res);
return DecryptedService.fromJSON(parsedResJson);
}