getEventPeriod method

Will get a collection of PcoCheckInsEventPeriod objects (expecting many) using a path like this: https://api.planningcenteronline.com/check-ins/v2/check_ins/1/check_in_group/1/event_period

Implementation

Future<PcoCollection<PcoCheckInsEventPeriod>> getEventPeriod(
    {PcoCheckInsEventPeriodQuery? query}) async {
  query ??= PcoCheckInsEventPeriodQuery();
  var url = '$apiEndpoint/event_period';
  return PcoCollection.fromApiCall<PcoCheckInsEventPeriod>(url,
      query: query, apiVersion: apiVersion);
}