GeneratorConfig constructor

const GeneratorConfig({
  1. required String name,
  2. @_EnvValueConverter() EnvValue? output,
  3. bool? isCustomOutput,
  4. @_EnvValueConverter() required EnvValue provider,
  5. required Map<String, String> config,
  6. required List<BinaryTargetsEnvValue> binaryTargets,
  7. required List<String> previewFeatures,
})

Implementation

const factory GeneratorConfig({
  required String name,
  @_EnvValueConverter() EnvValue? output,
  bool? isCustomOutput,
  @_EnvValueConverter() required EnvValue provider,
  required Map<String, String> config,
  required List<BinaryTargetsEnvValue> binaryTargets,

  /// TODO why is this not optional?
  required List<String> previewFeatures,
}) = _GeneratorConfig;