observe method
let you observe the state of a bloc or cubit
with immediate emission of current state
works similar to BehaviorSubject
observation
Implementation
Stream<T> observe() => stream.startWith(state);
let you observe the state of a bloc or cubit
with immediate emission of current state
works similar to BehaviorSubject
observation
Stream<T> observe() => stream.startWith(state);