getPerson method

Will get a collection of PcoCheckInsPerson objects (expecting many) using a path like this: https://api.planningcenteronline.com/check-ins/v2/passes/1/person

Implementation

Future<PcoCollection<PcoCheckInsPerson>> getPerson(
    {PcoCheckInsPersonQuery? query}) async {
  query ??= PcoCheckInsPersonQuery();
  var url = '$apiEndpoint/person';
  return PcoCollection.fromApiCall<PcoCheckInsPerson>(url,
      query: query, apiVersion: apiVersion);
}