field constant

TargetKind const field

Indicates that an annotation is valid on any field declaration, both instance and static fields, whether it's in a class, enum, mixin, or extension.

Implementation

static const field = TargetKind._('fields', 'field');