copyWith method
BoutiqueWeebi
copyWith({
- int? id,
- AddressWeebi? addressFull,
- String? boutiqueId,
- String? name,
- Phone? phone,
- String? mail,
- DateTime? updateDate,
- DateTime? creationDate,
- bool? status,
- DateTime? statusUpdateDate,
- double? promo,
- DateTime? promoStart,
- DateTime? promoEnd,
- PhotoSource? logoSource,
- String? logoPath,
- String? languageCode,
- String? currencyCode,
- bool? isDualCurrencyEnabled,
- String? secondaryDisplayCurrency,
- BusinessRules? businessRules,
Implementation
BoutiqueWeebi copyWith({
int? id,
AddressWeebi? addressFull,
String? boutiqueId,
String? name,
Phone? phone,
String? mail,
DateTime? updateDate,
DateTime? creationDate,
bool? status,
DateTime? statusUpdateDate,
double? promo,
DateTime? promoStart,
DateTime? promoEnd,
PhotoSource? logoSource,
String? logoPath,
String? languageCode,
String? currencyCode,
bool? isDualCurrencyEnabled,
String? secondaryDisplayCurrency,
BusinessRules? businessRules,
}) {
return BoutiqueWeebi(
id: id ?? this.id,
boutiqueId: boutiqueId ?? this.boutiqueId,
name: name ?? this.name,
phone: phone ?? this.phone,
mail: mail ?? this.mail,
addressFull: addressFull ?? this.addressFull,
creationDate: creationDate ?? this.creationDate,
updateDate: updateDate ?? this.updateDate,
status: status ?? this.status,
statusUpdateDate: statusUpdateDate ?? this.statusUpdateDate,
logoSource: logoSource ?? this.logoSource,
logoPath: logoPath ?? this.logoPath,
promo: promo ?? this.promo,
promoStart: promoStart ?? this.promoStart,
promoEnd: promoEnd ?? this.promoEnd,
languageCode: languageCode ?? this.languageCode,
currencyCode: currencyCode ?? this.currencyCode,
isDualCurrencyEnabled:
isDualCurrencyEnabled ?? this.isDualCurrencyEnabled,
secondaryDisplayCurrency:
secondaryDisplayCurrency ?? this.secondaryDisplayCurrency,
businessRules: businessRules ?? this.businessRules,
);
}