getEventInstances method
Future<PcoCollection<PcoCalendarEventInstance> >
getEventInstances({
- PcoCalendarEventInstanceQuery? query,
Will get a collection of PcoCalendarEventInstance objects (expecting many)
using a path like this: https://api.planningcenteronline.com/calendar/v2/events/1/event_instances
Available Query Filters:
future
Implementation
Future<PcoCollection<PcoCalendarEventInstance>> getEventInstances(
{PcoCalendarEventInstanceQuery? query}) async {
query ??= PcoCalendarEventInstanceQuery();
var url = '$apiEndpoint/event_instances';
return PcoCollection.fromApiCall<PcoCalendarEventInstance>(url,
query: query, apiVersion: apiVersion);
}