QueueState<T extends JSONSerialisable> class

Inheritance

Constructors

QueueState(String key, Store store, T _elementFromJson(Map<String, dynamic> json))

Properties

events → Future<List<T>>
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
no setterinherited
isReady → bool
no setterinherited
ready → Future<void>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Future<List<T>>
no setterinherited

Methods

add(T t) → Future
addListener(Listener<List<T>> listener, {bool fireImmediately = true}) → RemoveListener
inherited
dispose() → void
inherited
flush({int? number}) → void
fromJson(Map<String, dynamic> json) → List<T>
override
init(ErrorHandler errorHandler, bool storageJson) → void
inherited
modifyState(Future modifier(List<T> state)) → Future
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEvents(List<T> events) → void
setState(List<T> value) → void
inherited
toJson(List<T> t) → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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