copyWith method

HomeCountryAvaliable copyWith({
  1. String? countryCode,
  2. String? countryFlag,
  3. String? countryName,
  4. String? homesCountryPictureUrl,
  5. String? topBannerHomePictureUrl,
  6. String? topBannerHomeVideoUrl,
  7. String? currency,
})

Implementation

HomeCountryAvaliable copyWith({
  String? countryCode,
  String? countryFlag,
  String? countryName,
  String? homesCountryPictureUrl,
  String? topBannerHomePictureUrl,
  String? topBannerHomeVideoUrl,
  String? currency,
}) =>
    HomeCountryAvaliable(
      countryCode: countryCode ?? this.countryCode,
      countryFlag: countryFlag ?? this.countryFlag,
      countryName: countryName ?? this.countryName,
      homesCountryPictureUrl:
          homesCountryPictureUrl ?? this.homesCountryPictureUrl,
      topBannerHomePictureUrl:
          topBannerHomePictureUrl ?? this.topBannerHomePictureUrl,
      topBannerHomeVideoUrl:
          topBannerHomeVideoUrl ?? this.topBannerHomeVideoUrl,
      currency: currency ?? this.currency,
    );