Parameter.query constructor

  1. @Assert(_assertParamOrEval, _assertParamOrMsg)
  2. @Assert(_assertParamAndEval, _assertParamAndMsg)
const Parameter.query({
  1. String? name,
  2. String? description,
  3. bool? required,
  4. bool? deprecated,
  5. String? style,
  6. bool? explode,
  7. bool? allowReserved,
  8. String? example,
  9. required Schema schema,
  10. @JsonKey(name: '\$ref') @_ParamRefConverter() String? ref,
})

Query parameter in request

Implementation

@Assert(_assertParamOrEval, _assertParamOrMsg)
@Assert(_assertParamAndEval, _assertParamAndMsg)
const factory Parameter.query({
  String? name,
  String? description,
  bool? required,
  bool? deprecated,
  String? style,
  bool? explode,
  bool? allowReserved,
  String? example,
  required Schema schema,
  @JsonKey(name: '\$ref') @_ParamRefConverter() String? ref,
}) = ParameterQuery;