ScenarioRecording class
One recorded exchange.
Constructors
Properties
- body → Uint8List
-
final
- contentType → String?
-
Its own field rather than an entry in headers, because the extension a
body file gets is picked from it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, List< String> > -
Every other response header worth keeping, lowercased. See
ScenarioNetworkStore.keptHeader for what is dropped and why.
final
- key → String
-
What identifies this exchange: the method and the whole url, query
included.
no setter
- method → String
-
final
- recorded → DateTime?
-
When it was fetched — what a stale recording is spotted by.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
final
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited