commentRefs property

Map<String, ModelCommentReference> commentRefs

A map of ModelCommentReference.codeRef to ModelCommentReference. This map deduplicates comment references as all identical reference strings inside a single documentation comment will point to the same place, so it should not be used to count exactly how many references there are.


// Packages are not interpreted by the analyzer in such a way to generate
// [CommentReference] nodes, so this is always empty.
Map<String, ModelCommentReference> get commentRefs => {};