Target constructor
const
Target(
- Set<
TargetKind> kinds
Create a new instance of Target to be used as an annotation
on a class intended to be used as an annotation, with the
specified target kinds
that it can be applied to.
Implementation
const Target(this.kinds);