allowStateUpdates property

bool get allowStateUpdates

Check if the state should listen for events via the EventBus.

Implementation

bool get allowStateUpdates => stateName != null && eventBus != null;