Listener<TNotification> typedef Null safety

Listener<TNotification> = void Function(TNotification)

Implementation

typedef Listener<TNotification> = void Function(TNotification);