getPeople method
Will get a collection of PcoPeoplePerson objects (expecting many)
using a path like this: https://api.planningcenteronline.com/people/v2/people
Available Query Filters:
-
admins
-
created_since
filter people created in the last 24 hours; pass an additionaltime
parameter in ISO 8601 format to specify your own timeframe -
organization_admins
Implementation
Future<PcoCollection<PcoPeoplePerson>> getPeople(
{PcoPeoplePersonQuery? query}) async {
query ??= PcoPeoplePersonQuery();
var url = '$apiEndpoint/people';
return PcoCollection.fromApiCall<PcoPeoplePerson>(url,
query: query, apiVersion: apiVersion);
}