GeneratorForAnnotationBase constructor

const GeneratorForAnnotationBase({
  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 GeneratorForAnnotationBase({this.throwOnUnresolved = false});