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