getAllCheckedInByFromCheckIn static method
Future<PcoCollection<PcoCheckInsPerson> >
getAllCheckedInByFromCheckIn(
- String checkInId, {
- String? id,
- PcoCheckInsPersonQuery? query,
- bool includeOrganization = false,
Will get a PcoCollection
containing ALL PcoCheckInsPerson objects (expecting many)
using a path like this: /check-ins/v2/check_ins/$checkInId/checked_in_by
Additional options may be specified by using the query
argument, but some
query options are also available as boolean flags in this function call too.
This function forces the query.getAll
to be true.
Implementation
static Future<PcoCollection<PcoCheckInsPerson>> getAllCheckedInByFromCheckIn(
String checkInId, {
String? id,
PcoCheckInsPersonQuery? query,
bool includeOrganization = false,
}) async {
query ??= PcoCheckInsPersonQuery();
query.getAll = true;
if (includeOrganization) query.include.add('organization');
var url = '/check-ins/v2/check_ins/$checkInId/checked_in_by';
if (id != null) url += '/$id';
return PcoCollection.fromApiCall<PcoCheckInsPerson>(url,
query: query, apiVersion: kApiVersion);
}