stackTraces property
Synchronously get the stack traces of errors stored in Subject. May be empty.
Implementation
@override
List<StackTrace?> get stackTraces => _queue
    .mapNotNull((event) => event.errorAndStackTrace)
    .map((errorAndStackTrace) => errorAndStackTrace.stackTrace)
    .toList(growable: false);