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