getFields abstract method
Returns the fields of the annotation.
This list contains the fields of the annotation in the order they were declared. If no fields were declared, the list will be empty.
Example
final annotation = ...;
final fields = annotation.getFields();
print(fields.map((f) => f.getName())); // ["value"]
Implementation
List<AnnotationFieldDeclaration> getFields();