GeneratorForAnnotation<T> constructor

const GeneratorForAnnotation<T>({
  1. bool throwOnUnresolved = false,
})

Creates a generator for processing elements with specific annotations.

By default, this generator will throw if it encounters unresolved annotations. You can override this by setting throwOnUnresolved to false.

Implementation

const GeneratorForAnnotation({super.throwOnUnresolved});