OnPreExecute typedef Null safety

OnPreExecute = void Function()

Implementation

typedef OnPreExecute = void Function();