onErrorReport method

Future<void> onErrorReport(
  1. Object exception,
  2. StackTrace stack
)
inherited

If there's a error reporting routine available. Override if you like

Implementation

Future<void> onErrorReport(Object exception, StackTrace stack) async {
  if (inErrorReport != null) {
    await inErrorReport!(exception, stack);
  }
}