Emitter<T> class abstract

Emits events of type T

Implementers

Constructors

Emitter({List<RxValue<T>> emitRxValues = const [], List<Stream<T>> emitStreams = const [], Stream<T>? emitStream, RxValue<T>? emitRxValue})
factory

Properties

asStream Stream<T>
Returns events as Stream.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
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
emitRxValues(List<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 nonexistent method or property is accessed.
inherited
pipeTo(Emitter<T> other) → void
Pipes events to other
pipeToValue(RxValue<T> other) → void
Pipes events to other
toString() String
A string representation of this object.
inherited

Operators

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