ReplayFramesProvider class final

The full ordered frame history of a finished game.

Read from the replica when it holds all of it, which it always does for a game played on this device and does for an online game opened before (up to the replica's replay budget), so a replay opens offline. Otherwise fetched once and stored, since a finished game's history never changes.

A participant receives their own seat's projection; a non-participant replaying a public game receives the observer projection - the shape is identical either way, so the replay UI does not branch on it. The same range endpoint backs live gap recovery; replay is just the whole range rather than a missing slice of it.

Properties

argument → Object?
If this provider was created with the .family modifier, argument is the variable that was used.
finalinherited
dependencies → Iterable<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
finalinherited
from → Family?
If this provider was created with the .family modifier, from is the .family instance.
finalinherited
future → Refreshable<Future<List<Frame>>>
Obtains the Future representing this provider.
no setterinherited
hashCode → int
The hash code for this object.
no setteroverride
isAutoDispose → bool
Whether the state associated to this provider should be disposed automatically when the provider stops being listened.
finalinherited
name → String?
A custom label for providers.
finalinherited
origin → ProviderBase<AsyncValue<List<Frame>>>
The provider that is overridden.
no setterinherited
retry → Retry?
The retry strategy to use when a provider fails.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createElement($ProviderPointer pointer) → $FutureProviderElement<List<Frame>>
@nodoc
create(Ref ref) → FutureOr<List<Frame>>
@nodoc
debugGetCreateSourceHash() → String
A debug-only function for obtaining a hash of the source code of the initialization function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWith(Create<FutureOr<List<Frame>>> create) → Override
Override the provider with a new initialization function.
inherited
overrideWithValue(AsyncValue<List<Frame>> value) → Override
Overrides a provider with a value, ejecting the default behavior.
inherited
selectAsync<OutT>(OutT selector(List<Frame> data)) → ProviderListenable<Future<OutT>>
A variant of select for asynchronous values
inherited
toString() → String
A string representation of this object.

Operators

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