getCalendarItems method
Implementation
Future<List<EncryptedCalendarItem>> getCalendarItems(String sdkId, List<String> entityIds) async {
final res = await _methodChannel.invokeMethod<String>(
'CalendarItemApi.encrypted.getCalendarItems',
{
"sdkId": sdkId,
"entityIds": jsonEncode(entityIds.map((x0) => x0).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method getCalendarItems");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => EncryptedCalendarItem.fromJSON(x1) ).toList();
}