deleteAgendaById method
Future<GroupScoped<StoredDocumentIdentifier> >
deleteAgendaById(
- String sdkId,
- GroupScoped<
StoredDocumentIdentifier> entityId
Implementation
Future<GroupScoped<StoredDocumentIdentifier>> deleteAgendaById(String sdkId, GroupScoped<StoredDocumentIdentifier> entityId) async {
final res = await _methodChannel.invokeMethod<String>(
'AgendaApi.inGroup.deleteAgendaById',
{
"sdkId": sdkId,
"entityId": jsonEncode(GroupScoped.encode(
entityId,
(x0) {
return StoredDocumentIdentifier.encode(x0);
},
)),
}
).catchError(convertPlatformException);
if (res == null) throw AssertionError("received null result from platform method deleteAgendaById");
final parsedResJson = jsonDecode(res);
return GroupScoped.fromJSON(
parsedResJson,
(x1) {
return StoredDocumentIdentifier.fromJSON(x1);
},
);
}