addError method

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

Add a error to the stream of events.

Implementation

void addError(Object error, [StackTrace? stacktrace]) =>
    _manualDataPointController.addError(error, stacktrace);