bindStream method

void bindStream(
  1. Stream<T> stream
)

destinationReactive.bindStream(sourceStream) here, the value of Reactive variable destination will be updated and refresh the dependent Observers, whenever a new value is emitted from sourceStream.

Implementation

void bindStream(Stream<T> stream) {
  stream.listen((value) => this.value = value);
}