copyWith method

BoutiqueWeebi copyWith({
  1. int? id,
  2. Address? addressFull,
  3. String? boutiqueId,
  4. String? name,
  5. Phone? phone,
  6. String? mail,
  7. String? shopKeeperName,
  8. String? shopKeeperTel,
  9. String? shopKeeperMail,
  10. DateTime? updateDate,
  11. DateTime? creationDate,
  12. bool? status,
  13. DateTime? statusUpdateDate,
  14. double? promo,
  15. DateTime? promoStart,
  16. DateTime? promoEnd,
  17. PhotoSource? logoSource,
  18. String? logoPath,
  19. 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,
  );
}