Constructor class
Constructors
-
Constructor(TypeName className, {VariableName constructorName = VariableName.empty, Parameters parameters = Parameters.empty, Map<
VariableName, Code> initializedParameters = const {}, bool isConst = true, Iterable<Code> content = const []})
Properties
- arrow → bool
-
finalinherited
- childrenSeparator → String
-
no setterinherited
- className → TypeName
-
final
- constructorName → VariableName
-
final
-
content
→ Iterable<
Code> -
finalinherited
- hasBody → bool
-
no setteroverride
- hasContent → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasInitializedParameters → bool
-
no setter
-
initializedParameters
→ Map<
VariableName, Code> -
final
- isAsync → bool
-
finalinherited
- isConst → bool
-
final
- parameters → Parameters
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
afterParameters(
) → String -
override
-
beforeParameters(
) → String -
inherited
-
children(
) → Iterable< Code> -
inherited
-
code(
) → String -
inherited
-
decorate(
String code) → String -
inherited
-
end(
) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeTo(
File file) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited