state property Null safety

TState state

Implementation

TState get state => cubit.state.state;
void state=(TState state)

set state

Implementation

@protected
set state(TState state) => cubit.update(state: (prev) => state);