HeaderMatchMethod class
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
Constructors
- HeaderMatchMethod({String? exact, String? prefix, MatchRange? range, String? regex, String? suffix})
-
HeaderMatchMethod.fromJson(Map<
String, dynamic> json) -
factory
Properties
- exact → String?
-
The value sent by the client must match the specified value exactly.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefix → String?
-
The value sent by the client must begin with the specified characters.
final
- range → MatchRange?
-
An object that represents the range of values to match on.
final
- regex → String?
-
The value sent by the client must include the specified characters.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffix → String?
-
The value sent by the client must end with the specified characters.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited