addError method

void addError(
  1. Object error, [
  2. StackTrace? stackTrace
])

Implementation

void addError(Object error, [StackTrace? stackTrace]) {
  listenable._notifyError(error, stackTrace);
}