LeanGenerator.shared constructor

const LeanGenerator.shared({
  1. String? key,
  2. bool? allowSyntaxErrors,
  3. Set<String>? applies,
  4. Set<Type>? registerTypes,
  5. Set<String>? generateFor,
  6. Set<String>? runsBefore,
  7. Map<String, dynamic>? options,
})

Creates a generator that's used by SharedPartBuilder

Implementation

const LeanGenerator.shared({
  this.key,
  this.allowSyntaxErrors,
  this.applies,
  this.registerTypes,
  this.generateFor,
  this.runsBefore,
  this.options,
}) : outputExtensions = const <String>{},
     generateToCache = false;