UrlRequestMatcher class
UrlRequestMatcher allows one to match the request based on the path of the URL and optionally the HTTP Method (via matchMethod) rather than the entire request signature.
- Inheritance
-
- Object
- HttpRequestMatcher
- UrlRequestMatcher
Constructors
- UrlRequestMatcher({bool matchMethod = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchMethod → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
matches(
RequestOptions ongoingRequest, Request matcher) → bool -
override
-
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