addErrorSync method
- Object error,
- [StackTrace? stackTrace]
Adds and delivers an error event.
Adds an error like addError and attempts to deliver it immediately. Delivery can be delayed if other previously added events are still pending delivery, if the subscription is paused, or if the subscription isn't listening yet.
Implementation
void addErrorSync(Object error, [StackTrace? stackTrace]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-async/MultiStreamController/addErrorSync.html