DartGeneratorOptions class final

Constructors

DartGeneratorOptions({String insertBeforeClass(String name) = _newline, String fieldName(String name) = toCamelCase, String className(String name) = toPascalCase, String insertBeforeField(String name, Property<Object?> property)? = _finalField, String insertBeforeConstructor()? = _const, String insertBeforeConstructorArg(String name, Property<Object?> property)?, List<DartMethodGenerator> methodGenerators = defaultMethodGenerators, bool encodeNulls = false})
const

Properties

className → String Function(String name)
final
encodeNulls → bool
final
fieldName → String Function(String name)
final
hashCode → int
The hash code for this object.
no setterinherited
insertBeforeClass → String Function(String name)
final
insertBeforeConstructor → String Function()?
final
insertBeforeConstructorArg → String Function(String name, Property<Object?> property)?
final
insertBeforeField → String Function(String name, Property<Object?> property)?
final
methodGenerators → List<DartMethodGenerator>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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