GenerateConfig class

Config for the generation step (generate dart-content from model) Applies to all locales

Constructors

GenerateConfig({required BuildModelConfig buildConfig, required String inputDirectoryHint, required String baseName, required I18nLocale baseLocale, required GenerateFallbackStrategy fallbackStrategy, required String outputFileName, required OutputFormat outputFormat, required bool localeHandling, required bool flutterIntegration, required String translateVariable, required String enumName, required String className, required TranslationClassVisibility translationClassVisibility, required bool renderFlatMap, required bool translationOverrides, required bool renderTimestamp, required bool renderStatistics, required List<PopulatedContextType> contexts, required List<Interface> interface, required ObfuscationConfig obfuscation, required List<String> imports})

Properties

baseLocale I18nLocale
final
baseName String
final
buildConfig BuildModelConfig
final
className String
final
contexts List<PopulatedContextType>
final
enumName String
final
fallbackStrategy GenerateFallbackStrategy
final
flutterIntegration bool
final
hashCode int
The hash code for this object.
no setterinherited
imports List<String>
final
inputDirectoryHint String
final
interface List<Interface>
final
localeHandling bool
final
obfuscation ObfuscationConfig
final
outputFileName String
final
outputFormat OutputFormat
final
renderFlatMap bool
final
renderStatistics bool
final
renderTimestamp bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translateVariable String
final
translationClassVisibility TranslationClassVisibility
final
translationOverrides bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited