JozzEvents class
JozzEvents provides global access to the event system singleton.
Use JozzEvents.bus
to access the interface-based event emitter/listener.
Use JozzEvents.service
for full control (e.g., manual dispose()
).
Prefer dependency injection for large, modular apps.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- bus → JozzBus
-
Global singleton as the interface JozzBus (recommended for most use cases).
no setter
- service → JozzBusService
-
Global singleton as the concrete JozzBusService (for advanced usage).
no setter