getLocations method

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

Implementation

Future<PcoCollection<PcoCheckInsLocation>> getLocations(
    {PcoCheckInsLocationQuery? query}) async {
  query ??= PcoCheckInsLocationQuery();
  var url = '$apiEndpoint/locations';
  return PcoCollection.fromApiCall<PcoCheckInsLocation>(url,
      query: query, apiVersion: apiVersion);
}