Reactive<T> constructor

Reactive<T>(
  1. T value
)

Constructs a Reactive object with the initial value.

Implementation

Reactive(T value) {
  this._value = value;
  _streamController = StreamController<T>.broadcast();
  refresh();
}