copyWith method

ProductOptionGroupTranslation copyWith({
  1. DateTime? createdAt,
  2. String? id,
  3. LanguageCode? languageCode,
  4. String? name,
  5. DateTime? updatedAt,
})

Implementation

ProductOptionGroupTranslation copyWith({
  DateTime? createdAt,
  String? id,
  LanguageCode? languageCode,
  String? name,
  DateTime? updatedAt,
}) {
  return ProductOptionGroupTranslation(
    createdAt: createdAt ?? this.createdAt,
    id: id ?? this.id,
    languageCode: languageCode ?? this.languageCode,
    name: name ?? this.name,
    updatedAt: updatedAt ?? this.updatedAt,
  );
}