addError method

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

Add error to the stream of measurements.

Implementation

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