dispatch static method
Implementation
static dispatch(StateXType type, Object? state) {
if (_listener != null) {
_listener!(type, state);
}
}
static dispatch(StateXType type, Object? state) {
if (_listener != null) {
_listener!(type, state);
}
}