annotations property

Iterable<T> get 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 {
  return _entries.map((AnnotationEntry<T> entry) => entry.annotation);
}