copyWith method
ProductOptionGroupTranslation
copyWith({
- DateTime? createdAt,
- String? id,
- LanguageCode? languageCode,
- String? name,
- 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,
);
}