ValueStreamController<T> constructor

ValueStreamController<T>(
  1. String debugLabel, {
  2. T? initialValue,
  3. bool isUnique = true,
})

Implementation

ValueStreamController(this.debugLabel, {T? initialValue, this.isUnique = true}) {
  _controller = StreamController.broadcast();
  if (initialValue != null) {
    add(initialValue);
  }
}