Constructor constructor

Constructor(
  1. TypeName className, {
  2. VariableName constructorName = VariableName.empty,
  3. Parameters parameters = Parameters.empty,
  4. Map<VariableName, Code> initializedParameters = const {},
  5. bool isConst = true,
  6. Iterable<Code> content = const [],
})

Implementation

Constructor(
  this.className, {
  this.constructorName = VariableName.empty,
  Parameters parameters = Parameters.empty,
  this.initializedParameters = const {},
  this.isConst = true,
  Iterable<Code> content = const [],
}) : super(
        parameters: parameters,
        content: content,
      );