events property

Object? events

The events object should contain all public streams that a consumer can listen to for notification of internal module state change.

events is initially null. If a module exposes public events, this should be overridden to provide a class defined specifically for the module.

If using with w_flux internals, events should usually be dispatched by internal stores immediately prior to a corresponding trigger dispatch. events should NOT be dispatched directly by UI components or in immediate response to actions. This ensures that the internal unidirectional data flow is maintained and external events represent confirmed internal state changes.

Implementation

Object? get events => null;