VcrAdapter class

Constructors

VcrAdapter()

Properties

basePath String
getter/setter pair
file File?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({bool force = false}) → void
fetch(RequestOptions options, Stream<List<int>>? requestStream, Future? cancelFuture) Future<ResponseBody>
We should implement this method to make real http requests.
makeMockRequest(File file, RequestOptions options, Stream<List<int>>? requestStream, Future? cancelFuture) Future<ResponseBody>
makeNormalRequest(File file, RequestOptions options, Stream<List<int>>? requestStream, Future? cancelFuture) Future<ResponseBody>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
useCassette(dynamic path) → dynamic

Operators

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