# getFields abstract method

List<AnnotationFieldDeclaration> getFields()

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();