RecordedCall class

One call made against a FakeApiServices, captured for assertions.

Constructors

RecordedCall({required HttpMethod method, required String endpoint, Object? data, Map<String, dynamic>? params, Map<String, String>? headers, List<UploadFile> files = const []})
const

Properties

data → Object?
final
endpoint → String
final
files → List<UploadFile>
Files passed to upload. Empty for every other method.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
final
method → HttpMethod
final
params → Map<String, dynamic>?
final
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.
override

Operators

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