getLastCheckIn method

Will get a collection of PcoCheckInsCheckIn objects (expecting many) using a path like this: https://api.planningcenteronline.com/check-ins/v2/events/1/person_events/1/last_check_in

Implementation

Future<PcoCollection<PcoCheckInsCheckIn>> getLastCheckIn(
    {PcoCheckInsCheckInQuery? query}) async {
  query ??= PcoCheckInsCheckInQuery();
  var url = '$apiEndpoint/last_check_in';
  return PcoCollection.fromApiCall<PcoCheckInsCheckIn>(url,
      query: query, apiVersion: apiVersion);
}