onAppEvent property Null safety

(dynamic Function?(Event)?) onAppEvent
final

Implementation

final Function(Event)? onAppEvent;