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