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