on method
add event listener
triggers listener
for event
streams
Implementation
void on(String event, Function(T) listener) {
_listeners[event] = listener;
}
add event listener
triggers listener
for event
streams
void on(String event, Function(T) listener) {
_listeners[event] = listener;
}