copyWith method
BoutiqueWeebi
copyWith({
- int? id,
- Address? addressFull,
- String? boutiqueId,
- String? name,
- Phone? phone,
- String? mail,
- String? shopKeeperName,
- String? shopKeeperTel,
- String? shopKeeperMail,
- DateTime? updateDate,
- DateTime? creationDate,
- bool? status,
- DateTime? statusUpdateDate,
- double? promo,
- DateTime? promoStart,
- DateTime? promoEnd,
- PhotoSource? logoSource,
- String? logoPath,
- String? languageCode,
Implementation
BoutiqueWeebi copyWith({
int? id,
Address? addressFull,
String? boutiqueId,
String? name,
Phone? phone,
String? mail,
String? shopKeeperName,
String? shopKeeperTel,
String? shopKeeperMail,
DateTime? updateDate,
DateTime? creationDate,
bool? status,
DateTime? statusUpdateDate,
double? promo,
DateTime? promoStart,
DateTime? promoEnd,
PhotoSource? logoSource,
String? logoPath,
String? languageCode,
}) {
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,
shopKeeperName: shopKeeperName ?? this.shopKeeperName,
shopKeeperTel: shopKeeperTel ?? this.shopKeeperTel,
shopKeeperMail: shopKeeperMail ?? this.shopKeeperMail,
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,
);
}