SyncStream<T>.fromVStream constructor
SyncStream<T>.fromVStream (
- ValueStream<
T> source, [ - Consumer<
T> ? onChange, - String? debugName
Implementation
SyncStream.fromVStream(ValueStream<T> source, [Consumer<T>? onChange, String? debugName])
: this._(debugName: debugName, onChange: onChange, current: source.get(), source: source.after);