addError method Null safety
- Object error,
- [StackTrace? stackTrace]
override
Adds an error
to the sink.
Must not be called on a closed sink.
Implementation
@override
void addError(error, [StackTrace? stackTrace]) {
_sink.addError(error, stackTrace);
}