SyncStream<T>.fromStream constructor

SyncStream<T>.fromStream(
  1. Stream<T> after, [
  2. T? current,
  3. Consumer<T>? onChange,
  4. String? debugName,
])

Implementation

SyncStream.fromStream(Stream<T> after, [T? current, Consumer<T>? onChange, String? debugName])
    : this._(current: current, onChange: onChange, debugName: debugName, source: after);