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