EventReceiver typedef Null safety

EventReceiver = void Function(Event event)

Implementation

typedef EventReceiver = void Function(Event event);