RecordSnapshot class final

One tracked record's cheap fields. Sized by nothing a response controls.

Constructors

RecordSnapshot({required String key, required String status, required bool fetching, required bool settled, required bool inflight, required bool restart, required int frameRestarts})
Creates a record snapshot.
const

Properties

fetching → bool
A request is in flight.
final
frameRestarts → int
Frames that overtook its request.
final
hashCode → int
The hash code for this object.
no setterinherited
inflight → bool
A request sequence is running.
final
key → String
The cache key.
final
restart → bool
An invalidation landed mid-flight.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settled → bool
A response has settled.
final
status → String
idle, pending, success or error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
The JSON form: exactly seven keys, no value and no error.
toString() → String
A string representation of this object.
inherited

Operators

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