Mediator class final
Central mediator that manages dispatchers for different types of actions in the application.
Provides access to dispatchers for events, commands, queries, and aggregators.
Acts as the main entry point for handling all application actions.
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
- aggregators → _AggregatorDispatcher
-
Dispatcher for handling aggregators in the application.
final
- commands → _CommandDispatcher
-
Dispatcher for handling commands in the application.
final
- events → _EventsDispatcher
-
Dispatcher for handling events in the application.
final
- queries → _QueryDispatcher
-
Dispatcher for handling queries in the application.
final
Static Methods
-
dispose(
) → void - Disposes all dispatchers and cleans up resources.