StreamedState<T>.from constructor

  1. @Deprecated('Better use other subjects or streams')
StreamedState<T>.from(
  1. Stream<T> stream
)

Implementation

@Deprecated('Better use other subjects or streams')
StreamedState.from(Stream<T> stream) : _stateSubject = BehaviorSubject<T>() {
  _stateSubject.addStream(stream);
}