FieldModel class Null safety
Constructors
- FieldModel(FieldElement fld, ImportModel imports, CodgenConfig cfg)
Properties
- cfg → CodgenConfig
-
final
- constructorAssignment → String
-
read-only
- constructorParam → String
-
read-only
- fieldDecl → String
-
read-only
- getterDecl → String
-
read-only
- getterImpl → String
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- internalName → String
-
read-only
- iswitchIf → String
-
read-only
- name → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- toStringSwitch → String
-
read-only
- type → TypeModel
-
read-only
Methods
-
factoryMethod(
String resultType, String tyArgs, String constructor) → String -
iswitchArgFromOtherwise(
String otherwise) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
switchParam(
String tyArg, SwitchMode mode) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited