copyWith method

Clothes copyWith({
  1. ClotheType? clotheType,
  2. ClotheColor? clotheColor,
  3. GraphicType? graphicType,
})

Implementation

Clothes copyWith({
  ClotheType? clotheType,
  ClotheColor? clotheColor,
  GraphicType? graphicType,
}) {
  return Clothes(
    clotheType: clotheType ?? this.clotheType,
    clotheColor: clotheColor ?? this.clotheColor,
    graphicType: graphicType ?? this.graphicType,
  );
}