StreamBackedEmitter<T> constructor

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

Implementation

StreamBackedEmitter(
    {List<RxValue<T>> emitRxValues = const [],
    List<Stream<T>> emitStreams = const [],
    Stream<T>? emitStream,
    RxValue<T>? emitRxValue}) {
  this.emitRxValues(emitRxValues);
  this.emitStreams(emitStreams);
  if (emitRxValue != null) this.emitRxValue(emitRxValue);
  if (emitStream != null) this.emitStream(emitStream);
}