ScenarioRequest class

One exchange, as the scenario saw it.

Constructors

ScenarioRequest({required String method, required Uri url, required String outcome, int? status, String? refusal})

Properties

hashCode → int
The hash code for this object.
no setterinherited
method → String
final
outcome → String
What answered it — stub, live, or off.
final
refusal → String?
Why nothing answered it, spelled out. Null on an exchange that happened.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int?
The status it came back with, or null when nothing answered it.
final
summary → String
The one-line version of refusal — what a list of events has room for.
no setter
url → Uri
final

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