BlocstarContextBase<TBlocStarContext> constructor
BlocstarContextBase<TBlocStarContext> (
- BlocstarLogicBase<
BlocstarContextBase< _logicTBlocStarContext> >
Implementation
BlocstarContextBase(this._logic) {
getNewActionState() {
return new ActionState(false, false, null, this._logic, null);
}
if (_logic.initialized) {
actionState = this._logic.context.actionState ?? getNewActionState();
} else {
actionState = getNewActionState();
}
_logic.onContextChangedCallback(this);
}