once method
Implementation
void once(String event, EventHandler handler) {
_eventsOnce.putIfAbsent(event, () => <EventHandler>[]);
_eventsOnce[event]!.add(handler);
}
void once(String event, EventHandler handler) {
_eventsOnce.putIfAbsent(event, () => <EventHandler>[]);
_eventsOnce[event]!.add(handler);
}