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