state property
Supply this version of StateX
Implementation
@override
StateX? get state {
var state = super.state;
if (state != null) {
assert(state is! AppStateX,
"'${state.toStringShort()}' is type, AppStateX.\nMust use the getter, appState, instead.");
if (state is AppStateX) {
state = null; // In Fluttery, AppStateX is not a subtype of this StateX
}
}
return state == null ? null : state as StateX;
}