handleUncaughtException method
Forwards an error
and trace
to the user's error handler.
This is expected to be provided by the current application.
Implementation
@override
void handleUncaughtException(
Object error, [
StackTrace? trace,
String? reason,
]) {
_exceptionHandler.call(error, trace, reason);
}