EventListener typedef Null safety

EventListener = dynamic Function(Object event)

Signature of an html event listener.

We have to redefine it because non-web platforms can't import dart:html.

Implementation

typedef EventListener = dynamic Function(Object event);