Factory class

Inheritance

Constructors

Factory(TypeName className, VariableName factoryName, {Iterable<Code> content = const [], bool arrow = false, Parameters parameters = Parameters.empty})

Properties

arrow bool
finalinherited
childrenSeparator String
no setterinherited
className TypeName
final
content Iterable<Code>
finalinherited
factoryName VariableName
final
hasBody bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isAsync bool
finalinherited
parameters Parameters
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterParameters() String
inherited
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