StreamBackedEmitter<T> class

Implemented types

Constructors

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

Properties

asStream Stream<T>
Returns events as Stream.
no setteroverride
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>
override
emit(Emitter<T> emitter) → void
Emits values of emitter
override
emitAll(Iterable<T> values) → void
Emits all of the values
override
emitOne(T value) → void
Emits a value
override
emitRxValue(RxValue<T> value) → void
Emits values of value
override
emitRxValues(List<RxValue<T>> values) → void
Emits values of value
override
emitStream(Stream<T> stream) → void
Emits values of the stream
override
emitStreams(List<Stream<T>> stream) → void
listen(dynamic callback) StreamSubscription<T>
Calls callback whenever there is an event. Returns a StreamSubscription to control the listening.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pipeTo(Emitter<T> emitter) → void
Pipes events to other
override
pipeToValue(RxValue<T> other) → void
Pipes events to other
override
toString() String
A string representation of this object.
inherited

Operators

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