getPersonEvents method
Future<PcoCollection<PcoCheckInsPersonEvent> >
getPersonEvents({
- PcoCheckInsPersonEventQuery? query,
Will get a collection of PcoCheckInsPersonEvent objects (expecting many)
using a path like this: https://api.planningcenteronline.com/check-ins/v2/events/1/person_events
Implementation
Future<PcoCollection<PcoCheckInsPersonEvent>> getPersonEvents(
{PcoCheckInsPersonEventQuery? query}) async {
query ??= PcoCheckInsPersonEventQuery();
var url = '$apiEndpoint/person_events';
return PcoCollection.fromApiCall<PcoCheckInsPersonEvent>(url,
query: query, apiVersion: apiVersion);
}