modifyContacts method
Implementation
Future<List<EncryptedContact>> modifyContacts(String sdkId, List<EncryptedContact> entities) async {
final res = await _methodChannel.invokeMethod<String>(
'ContactBasicApi.modifyContacts',
{
"sdkId": sdkId,
"entities": jsonEncode(entities.map((x0) => EncryptedContact.encode(x0)).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyContacts");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => EncryptedContact.fromJSON(x1) ).toList();
}