SingleLiveEventSubject<T> class
abstract
Subject for SingleLiveEvents.
Exposes Sink (see add) interface and stream.
For implementation see StateGraphBloc singleLiveEventSubject
method.
- Implemented types
-
- Sink<
T>
- Sink<
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
SingleLiveEvent< T> > -
Returns
SingleLiveEvent
Stream.no setter
Methods
-
add(
T data) → void -
Adds
data
to the sink.inherited -
close(
) → void -
Closes the sink.
inherited
-
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