addError method
- @protected
- @mustCallSuper
- @override
- Object error, [
- StackTrace? stackTrace
inherited
Reports an error
which triggers onError
with an optional StackTrace.
Implementation
@protected
@mustCallSuper
@override
void addError(Object error, [StackTrace? stackTrace]) {
onError(error, stackTrace ?? StackTrace.current);
}