RxVar<T> constructor

RxVar<T>([
  1. T? initial
])

Implementation

RxVar([T? initial]) : _subject = BehaviorSubject<T>.seeded(initial as T);