ReportErrorHandler typedef

ReportErrorHandler = Future<void> Function(dynamic exception, StackTrace stack)

Define the type of function to handle errors.

Implementation

typedef ReportErrorHandler = Future<void> Function(
    dynamic exception, StackTrace stack);