add method Null safety

void add(
  1. AnnotationEntry<T> entry
)

Add a new entry to the end of the result.

Usually, entries should be added in order from most specific to least specific, typically during an upward walk of the tree.

Implementation

void add(AnnotationEntry<T> entry) => _entries.add(entry);