report method
void
report(
- ErrorType type,
- dynamic error, {
- StackTrace? stackTrace,
- FlutterErrorDetails? flutterErrorDetails,
Reports an error.
Implementation
void report(
ErrorType type,
dynamic error, {
StackTrace? stackTrace,
FlutterErrorDetails? flutterErrorDetails,
}) {
for (var listener in _errorListeners) {
listener.onError(
type,
error,
stackTrace,
flutterErrorDetails,
);
}
}