annotations property

Iterable<T> annotations

An unmodifiable list of annotations recorded.

The first entry is the most specific, typically the one at the leaf of tree.

It is similar to entries but does not contain other information.

Implementation

Iterable<T> get annotations sync* {
  for (final AnnotationEntry<T> entry in _entries)
    yield entry.annotation;
}