RecordIntercept class abstract

This class lets you set the value to respond with during an HTTP request intecept.

Constructors

RecordIntercept()

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
respondWith(String body, int statusCode, {Map<String, String> headers = const {}, Encoding encoding = utf8}) → void
Set the value to respond with during an HTTP request intercept.
toString() String
A string representation of this object.
inherited

Operators

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