FakeRequestRecord class final

One request as the fake answered it, for assertions.

Constructors

FakeRequestRecord({required String operationId, required String method, required String path, required int status, required Object? body, required Map<String, String> headers})
Creates the record.
const

Properties

body → Object?
The decoded request body.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
The request headers, names in lower case.
final
method → String
The HTTP method.
final
operationId → String
The operation, or unknown.
final
path → String
The path below the origin.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
The status sent; 0 when the response was dropped.
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