RecordInterceptor class abstract
This class lets you intercept HTTP requests made to an HTTP recording client and return a known response instead of a recorded or actual message.
An intercept can be set-up using when then RecordIntercept.respondWith.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when(
String method, String path, {int? port, String? host, Map< String, String> queryParameters = const {}, Map<String, String> headers = const {}}) → RecordIntercept - Set-up an intercept to an HTTP request.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited