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