PcoPeopleFormSubmissionQuery constructor
PcoPeopleFormSubmissionQuery({
- bool includeForm = false,
- bool includeFormFields = false,
- bool includeFormSubmissionValues = false,
- bool includePerson = false,
- bool includeAllRelated = false,
- PcoPeopleFormSubmissionOrder? orderBy,
- bool reverse = false,
- int perPage = 25,
- int pageOffset = 0,
- Map<
String, String> extraParams = const {}, - List<
PlanningCenterApiWhere> ? where, - Iterable<
String> filter = const <String>[], - String? order,
- Iterable<
String> include = const <String>[],
Implementation
PcoPeopleFormSubmissionQuery({
/// include associated form
/// when true, adds `?include=form` to url
bool includeForm = false,
/// include associated form_fields
/// when true, adds `?include=form_fields` to url
bool includeFormFields = false,
/// include associated form_submission_values
/// when true, adds `?include=form_submission_values` to url
bool includeFormSubmissionValues = false,
/// include associated person
/// when true, adds `?include=person` to url
bool includePerson = false,
/// when true, adds `?include=form,form_fields,form_submission_values,person` to url parameters
bool includeAllRelated = false,
PcoPeopleFormSubmissionOrder? orderBy,
/// reverse the ordering
bool reverse = false,
// direct access to super class params
super.perPage,
super.pageOffset,
super.extraParams,
super.where,
super.filter,
super.order,
super.include,
}) : super() {
if (includeAllRelated || includeForm) include.add('form');
if (includeAllRelated || includeFormFields) include.add('form_fields');
if (includeAllRelated || includeFormSubmissionValues)
include.add('form_submission_values');
if (includeAllRelated || includePerson) include.add('person');
if (orderBy != null) order = orderString(orderBy, reverse: reverse);
}