BeforeExit typedef Null safety

BeforeExit = FutureOr<void> Function()

Implementation

typedef BeforeExit = FutureOr<void> Function();