getPeople method

Will get a collection of PcoServicesPerson objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/people/1/team_leaders/1/people

Implementation

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