DartGeneratorOptions class final
Constructors
-
DartGeneratorOptions({String insertBeforeClass(String name) = _newline, String fieldName(String propertyName) = toCamelCase, String className(String className) = 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 className)
-
final
- encodeNulls → bool
-
final
- fieldName → String Function(String propertyName)
-
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