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