Factory constructor

Factory(
  1. TypeName className,
  2. VariableName factoryName, {
  3. Iterable<Code> content = const [],
  4. bool arrow = false,
  5. 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,
      );