AFMemberVariableTemplates class
Utility used to encapsulate handling of the --member-variables and --resolve-variables flags.
Constructors
-
AFMemberVariableTemplates({required bool isAugment, required Map<
String, String> memberVars, required Map<String, String> resolveVars, required bool isIntId, required String mainType, required bool withFlutterState}) - AFMemberVariableTemplates.createEmpty({required String mainType, bool isIntId = false})
-
factory
Properties
- constructorParams → String
-
no setter
- constructorParamsBare → String
-
no setter
- copyWithCall → String
-
no setter
- copyWithParams → String
-
no setter
- copyWithParamsBare → String
-
no setter
- declareVariables → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValueDeclaration → String
-
no setter
- isAugment → bool
-
final
- isIntId → bool
-
final
- mainType → String
-
final
-
memberVars
→ Map<
String, String> -
final
-
no setter
-
no setter
-
no setter
- resolveMethods → String
-
no setter
-
resolveVars
→ Map<
String, String> -
final
- reviseMethods → String
-
no setter
- routeParamCreateCall → String
-
no setter
- routeParamCreateParams → String
-
no setter
- routeParamSuperParams → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialConstants → String
-
no setter
- serializeFrom → String
-
no setter
- serializeFromConstructorParams → String
-
no setter
- serializeFromDeserializeLines → String
-
no setter
- serializeTo → String
-
no setter
- spiOnUpdateMethods → String
-
no setter
- spiResolveMethods → String
-
no setter
- standardRootMapType ↔ String?
-
getter/setter pair
- withFlutterState → bool
-
final
Methods
-
extraImports(
AFCommandContext context) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setStandardRootMapType(
String kind) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- excludeTempPlaceholder → const int
- includeAllVars → const int
- includeMemberVars → const int
- includeResolveVars → const int
- tempPlaceholderVarName → const String