Bloc<T> class

Constructors

Bloc({T? initialValue})
Bloc.broadcast({T? initialValue})

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink StreamSink<T>
no setter
stream Stream<T>
no setter
value → T
no setter

Methods

add(T value) → void
addError(Object error, [StackTrace? stackTrace]) → void
dispose() → void
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