Factory constructor
Factory(
- TypeName className,
- VariableName factoryName, {
- Iterable<
Code> content = const [], - bool arrow = false,
- Parameters parameters = Parameters.empty,
Implementation
Factory(
this.className,
this.factoryName, {
Iterable<Code> content = const [],
bool arrow = false,
Parameters parameters = Parameters.empty,
}) : super(
arrow: arrow,
content: content,
parameters: parameters,
isAsync: false,
);