copyWith method
Implementation
GeneratorData copyWith({
String? className,
AnnotationTypes? annotationType,
List<String>? imports,
List<Variable>? variablesList,
bool? isFreezed,
bool? extended,
}) =>
GeneratorData(
className: className ?? this.className,
annotationType: annotationType ?? this.annotationType,
imports: imports ?? this.imports,
variablesList: variablesList ?? this.variablesList,
isFreezed: isFreezed ?? this.isFreezed,
extended: extended ?? this.extended,
);