EventListener<E extends Event> typedef

EventListener<E extends Event> = FutureOr<void> Function(E)

A callable will be call when

Implementation

typedef EventListener<E extends Event> = FutureOr<void> Function(E);