publish method
void
publish(
- E event
Implementation
void publish(E event) {
_handlers.forEach(((handler) {
handler.handle(event);
}));
}
void publish(E event) {
_handlers.forEach(((handler) {
handler.handle(event);
}));
}