getEventPeriods method
Future<PcoCollection<PcoCheckInsEventPeriod> >
getEventPeriods({
- PcoCheckInsEventPeriodQuery? query,
Will get a collection of PcoCheckInsEventPeriod objects (expecting many)
using a path like this: https://api.planningcenteronline.com/check-ins/v2/events/1/event_periods
Implementation
Future<PcoCollection<PcoCheckInsEventPeriod>> getEventPeriods(
{PcoCheckInsEventPeriodQuery? query}) async {
query ??= PcoCheckInsEventPeriodQuery();
var url = '$apiEndpoint/event_periods';
return PcoCollection.fromApiCall<PcoCheckInsEventPeriod>(url,
query: query, apiVersion: apiVersion);
}