onError abstract method
void
onError(
- ErrorType type,
- Object error,
- StackTrace? stackTrace,
- FlutterErrorDetails? flutterErrorDetails,
The callback which is called when an error occurs.
Implementation
void onError(
ErrorType type,
Object error,
StackTrace? stackTrace,
FlutterErrorDetails? flutterErrorDetails,
);