getAllFromPersonAndAvailableSignupAndSignupSheet static method
Future<PcoCollection<PcoServicesSignupSheetMetadatum> >
getAllFromPersonAndAvailableSignupAndSignupSheet(
- String personId,
- String availableSignupId,
- String signupSheetId, {
- String? id,
- PcoServicesSignupSheetMetadatumQuery? query,
Will get a PcoCollection
containing ALL PcoServicesSignupSheetMetadatum objects (expecting many)
using a path like this: /services/v2/people/$personId/available_signups/$availableSignupId/signup_sheets/$signupSheetId/signup_sheet_metadata
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<PcoServicesSignupSheetMetadatum>>
getAllFromPersonAndAvailableSignupAndSignupSheet(
String personId,
String availableSignupId,
String signupSheetId, {
String? id,
PcoServicesSignupSheetMetadatumQuery? query,
}) async {
query ??= PcoServicesSignupSheetMetadatumQuery();
query.getAll = true;
var url =
'/services/v2/people/$personId/available_signups/$availableSignupId/signup_sheets/$signupSheetId/signup_sheet_metadata';
if (id != null) url += '/$id';
return PcoCollection.fromApiCall<PcoServicesSignupSheetMetadatum>(url,
query: query, apiVersion: kApiVersion);
}