Parameter.cookie constructor
- @Assert(_assertParamOrEval, _assertParamOrMsg)
- @Assert(_assertParamAndEval, _assertParamAndMsg)
Cookie parameter in request
Implementation
@Assert(_assertParamOrEval, _assertParamOrMsg)
@Assert(_assertParamAndEval, _assertParamAndMsg)
const factory Parameter.cookie({
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,
}) = ParameterCookie;