getLocation method

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

Implementation

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