getCalendarItem method

Future<EncryptedCalendarItem> getCalendarItem(
  1. String sdkId,
  2. String entityId
)

Implementation

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