EventHandler typedef Null safety

EventHandler = void Function(Event event)

A Signature for a handler function which will expose a event.

Implementation

typedef EventHandler = void Function(Event event);