getPerson method

Will get a collection of PcoGroupsPerson objects (expecting one) using a path like this: https://api.planningcenteronline.com/groups/v2/events/1/attendances/1/person

Implementation

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