features property

Set<String> features

Implementation

Set<String> get features {
  return {
    ...annotationsFromMetadata(element.metadata
        .where((e) => !_specialFeatures.contains(e.element?.name))),
    // 'const' and 'static' are not needed here because 'const' and 'static'
    // elements get their own sections in the doc.
    if (isFinal) 'final',
    if (isLate) 'late',
  };
}