Source
CommandStreamReducer(this.state, {bool sync: false, this.cancelOnError}) { _controller = new StreamController<T>( onListen: _onListen, onCancel: _onCancel, onPause: () { _subscription.pause(); }, onResume: () { _subscription.resume(); }, sync: sync); }