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