ReportErrorHandler typedef
ReportErrorHandler =
Future<void> Function(Object exception, StackTrace stack)
Define the type of function to handle isolate and run zone errors.
Implementation
typedef ReportErrorHandler = Future<void> Function(
Object exception, StackTrace stack);