ErrorCallback typedef

void ErrorCallback (
  1. dynamic error,
  2. dynamic stackTrace
)

A callback for unhandled exceptions.

Implementation

typedef ErrorCallback = void Function(dynamic error, dynamic stackTrace);