undeleteCalendarItem method

Future<DecryptedCalendarItem> undeleteCalendarItem(
  1. String sdkId,
  2. CalendarItem calendarItem
)

Implementation

Future<DecryptedCalendarItem> undeleteCalendarItem(String sdkId, CalendarItem calendarItem) async {
	final res = await _methodChannel.invokeMethod<String>(
		'CalendarItemApi.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 DecryptedCalendarItem.fromJSON(parsedResJson);
}