CloseAction typedef Null safety

CloseAction = void Function()

Implementation

typedef CloseAction = void Function();