state property Null safety
retrieve current state of the cubix
Implementation
@protected
TState get state => cubix.state;
udpate current state of the cubix
Implementation
@protected
set state(TState state) {
if (cancelled) return;
cubix.state = state;
}