EntityStreamedState<T> class

StreamedState that have download/error/content status

Inheritance
Implemented types

Constructors

EntityStreamedState([EntityState<T>? initialData])
EntityStreamedState.from(Stream<EntityState<T>> stream)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateSubject → BehaviorSubject<EntityState<T>?>
Behavior state for updating events
finalinherited
stream Stream<EntityState<T>?>
The stream to which the event is transmitted
no setterinherited
value EntityState<T>?
current value in stream
no setterinherited

Methods

accept([EntityState<T>? data]) Future<EntityState<T>?>
Acceptance of a new event
inherited
content([T? data]) Future<EntityState<T>?>
Acceptance of a new entity event
override
dispose() → void
inherited
error([Object? error, T? data]) Future<EntityState<T>?>
Setting the event data is error
override
loading([T? previousData]) Future<EntityState<T>?>
Setting the event data is loading
override
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