getContributors method

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

Implementation

Future<PcoCollection<PcoServicesContributor>> getContributors(
    {PcoServicesContributorQuery? query}) async {
  query ??= PcoServicesContributorQuery();
  var url = '$apiEndpoint/contributors';
  return PcoCollection.fromApiCall<PcoServicesContributor>(url,
      query: query, apiVersion: apiVersion);
}