dispatch method
void
dispatch(
- T event
Invokes the event chain with an event
.
Implementation
void dispatch(T event) {
for (var value in subscriptions) {
value.consumer(event);
}
}
Invokes the event chain with an event
.
void dispatch(T event) {
for (var value in subscriptions) {
value.consumer(event);
}
}