TriggerListener typedef Null safety

TriggerListener = void Function(TriggerDirection trigger)

Implementation

typedef TriggerListener = void Function(TriggerDirection trigger);