DartGeneratorOptions constructor
const
DartGeneratorOptions({
- String insertBeforeClass(
- String name
- String fieldName(
- String propertyName
- String className(
- String className
- String insertBeforeField()? = _finalField,
- String insertBeforeConstructor()? = _const,
- String insertBeforeConstructorArg()?,
- List<
DartMethodGenerator> methodGenerators = defaultMethodGenerators, - bool encodeNulls = false,
Implementation
const DartGeneratorOptions({
this.insertBeforeClass = _newline,
this.fieldName = toCamelCase,
this.className = toPascalCase,
this.insertBeforeField = _finalField,
this.insertBeforeConstructor = _const,
this.insertBeforeConstructorArg,
this.methodGenerators = defaultMethodGenerators,
this.encodeNulls = false,
});