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