features property

Set<Feature> features

Usually a superset of annotations except where _specialFeatures replace them, a list of annotations as well as tags applied by Dartdoc itself when it notices characteristics of an element that need to be documented. See Feature for a list.


Set<Feature> get features {
  return {
    ...annotations.where((a) => !_specialFeatures.contains(a.name)),
    // 'const' and 'static' are not needed here because 'const' and 'static'
    // elements get their own sections in the doc.
    if (isFinal) Feature.finalFeature,
    if (isLate) Feature.lateFeature,