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