behavior_subject library Null safety

Classes

BehaviorSubject<T>
A special StreamController that captures the latest item that has been added to the controller, and emits that as the first item to any new listener. [...]