ExceptionCallback typedef Null safety

ExceptionCallback = void Function(Exception)

Implementation

typedef ExceptionCallback = void Function(Exception);