copyWith method

FastNativeAdBlocEventPayload copyWith({
  1. FastAdInfo? adInfo,
  2. String? country,
  3. AdWithView? adView,
  4. String? language,
  5. FastResponseAd? ad,
  6. String? adId,
})

Implementation

FastNativeAdBlocEventPayload copyWith({
  FastAdInfo? adInfo,
  String? country,
  AdWithView? adView,
  String? language,
  FastResponseAd? ad,
  String? adId,
}) {
  return FastNativeAdBlocEventPayload(
    adInfo: adInfo ?? this.adInfo,
    country: country ?? this.country,
    adView: adView ?? this.adView,
    language: language ?? this.language,
    ad: ad ?? this.ad,
    adId: adId ?? this.adId,
  );
}