errorAndStackTraces property
Synchronously get the errors and stack traces stored in Subject. May be empty.
Implementation
@override
List<ErrorAndStackTrace> get errorAndStackTraces => _queue
.where((event) => event.isError)
.map((event) => event.errorAndStackTrace!)
.toList(growable: false);