getParent method

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

Implementation

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