addError method

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

Notifies the Bloc of an error which triggers onError.

Implementation

@override
void addError(Object error, [StackTrace stackTrace]) {
  onError(error, stackTrace);
}