state property

S get state

The current state held by this store.

Implementation

S get state => _subject.value;
set state (S state)

Updates the current state and notifies all observers.

Implementation

set state(S state) => _subject.add(state);