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