# AnnotationDeclaration constructor

const AnnotationDeclaration()

Represents an annotation that has been applied to a class, method, field, parameter, or other Dart declarations at runtime.

This interface gives you access to:

- The TypeDeclaration of the annotation
- The arguments used when the annotation was constructed

### Example

    for (final annotation in reflectedClass.getAnnotations()) {
      print(annotation.getTypeDeclaration().getName());
      print(annotation.getArguments());
    }

## Implementation

    const AnnotationDeclaration();