errorsOfType<S extends Shard> method
All recorded errors whose shard is of runtime type S.
Implementation
List<ObservedError> errorsOfType<S extends Shard>() {
return _errors.where((e) => e.shard is S).toList(growable: false);
}