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