getItemTimes method

Will get a collection of PcoServicesItemTime objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/service_types/1/plans/1/items/1/item_times

Implementation

Future<PcoCollection<PcoServicesItemTime>> getItemTimes(
    {PcoServicesItemTimeQuery? query}) async {
  query ??= PcoServicesItemTimeQuery();
  var url = '$apiEndpoint/item_times';
  return PcoCollection.fromApiCall<PcoServicesItemTime>(url,
      query: query, apiVersion: apiVersion);
}