addError method

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

Unsupported - this output sink cannot pass errors to platform code.

Implementation

@override
void addError(Object error, [StackTrace? stackTrace]) {
  throw UnsupportedError(
      "BluetoothConnection output (response) sink cannot receive errors!");
}