Emitter<T> class

Emits events of type T

Implementers

Constructors

Emitter()
factory

Properties

asStream Stream<T>
Returns events as Stream.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

emit(Emitter<T> emitter) → void
Emits values of emitter
emitAll(Iterable<T> values) → void
Emits all of the values
emitOne(T value) → void
Emits a value
emitRxValue(RxValue<T> value) → void
Emits values of value
emitStream(Stream<T> stream) → void
Emits values of the stream
listen(dynamic callback) StreamSubscription<T>
Calls callback whenever there is an event. Returns a StreamSubscription to control the listening.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
on(dynamic callback) → void
Calls callback whenever there is an event
pipeTo(Emitter<T> other) → void
Pipes events to other
pipeToValue(RxValue<T> other) → void
Pipes events to other
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited