RxState<T> constructor
RxState<T> ([
- RxStateBase<
T> ? initial
Implementation
RxState([RxStateBase<T>? initial])
: _subject = BehaviorSubject<RxStateBase<T>>.seeded(initial ?? const RxIdle());