CollectionReset<T, K> class final

Replaces loaded items and resets failure/freshness state through CollectionEventApplication.applyEvent.

Inheritance

Constructors

CollectionReset(List<T> items, {CollectionContentState contentState = CollectionContentState.content})
Creates a reset event. contentState must be consistent with items when the event is applied.
const

Properties

contentState → CollectionContentState
Meaning of the replacement content; non-content states require an empty list.
final
hashCode → int
The hash code for this object.
no setterinherited
items → List<T>
Replacement list; it is copied into an unmodifiable list by the resulting snapshot.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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