RecordedRequest class

A request that a FakeHttp received.

Constructors

RecordedRequest({required String method, required Uri url, required Map<String, String> headers, required String body})
Creates a record of a request.
const

Properties

body → String
The request body decoded as UTF-8.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
The request headers.
final
method → String
The HTTP method, for example POST.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → String
The request as METHOD url, the form FakeHttp.stub matches on.
no setter
url → Uri
The full URL.
final

Methods

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