ParameterExclusion class final

Excludes an effective HTTP parameter by its wire identity.

Constructors

ParameterExclusion({required String name, required String location, List<String> paths = const [], List<String> methods = const []})
Sets the wire identity and optional operation selectors.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
location → String
Parameter location: query, header, cookie, or querystring.
final
methods → List<String>
Case-sensitive HTTP methods. An empty list matches all methods.
final
name → String
Original name. Header names match without case.
final
paths → List<String>
Mounted path globs. An empty list matches all paths.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validationError → String?
Reports invalid selectors. Path parameters cannot be excluded.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited