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