method constant
Indicates that an annotation is valid on any method declaration, both instance and static methods, whether it's in a class, enum, mixin, extension, or extension type.
Implementation
static const method = TargetKind._('methods', 'method');