Retention constructor

const Retention([
  1. AnnotationRetention value = AnnotationRetention.RUNTIME
])

This meta-annotation determines whether an annotation is stored in binary output and visible for reflection. By default, both are true.

Implementation

const Retention([this.value = AnnotationRetention.RUNTIME]);