getPeople method

Will get a collection of PcoGivingPerson objects (expecting many) using a path like this: https://api.planningcenteronline.com/giving/v2/people

Available Query Filters:

  • has_donated filter to people with at least one associated donation

Implementation

Future<PcoCollection<PcoGivingPerson>> getPeople(
    {PcoGivingPersonQuery? query}) async {
  query ??= PcoGivingPersonQuery();
  var url = '$apiEndpoint/people';
  return PcoCollection.fromApiCall<PcoGivingPerson>(url,
      query: query, apiVersion: apiVersion);
}