toSyncStream method

SyncStream<X> toSyncStream([
  1. X? initial,
  2. Consumer<X>? onChange,
  3. String? name
])

Implementation

SyncStream<X> toSyncStream([X? initial, Consumer<X>? onChange, String? name]) =>
    SyncStream.fromStream(this, initial, onChange, name);