addError method
Adds an error event and notify it to listeners.
Implementation
void addError(Object error, [StackTrace? stackTrace]) {
if (!_used) return;
_controller.addError(error, stackTrace);
}
Adds an error event and notify it to listeners.
void addError(Object error, [StackTrace? stackTrace]) {
if (!_used) return;
_controller.addError(error, stackTrace);
}