getDeliveries method

Will get a collection of PcoWebhooksDelivery objects (expecting many) using a path like this: https://api.planningcenteronline.com/webhooks/v2/subscriptions/1/events/1/deliveries

Implementation

Future<PcoCollection<PcoWebhooksDelivery>> getDeliveries(
    {PcoWebhooksDeliveryQuery? query}) async {
  query ??= PcoWebhooksDeliveryQuery();
  var url = '$apiEndpoint/deliveries';
  return PcoCollection.fromApiCall<PcoWebhooksDelivery>(url,
      query: query, apiVersion: apiVersion);
}