change method
Implementation
@protected
void change(T? newState, {AppStatus? status}) {
var _canUpdate = false;
if (status != null) {
_status = status;
_canUpdate = true;
}
if (newState != _value) {
_value = newState;
// if (newState == null && status == null){
// _status == AppStatus.empty();
// }
_canUpdate = true;
}
if (_canUpdate) {
refresh();
}
}