copyWith method

  1. @override
FastAdInfo copyWith({
  1. String? androidNativeAdUnitId,
  2. String? iosNativeAdUnitId,
  3. String? androidBannerAdUnitId,
  4. String? iosBannerAdUnitId,
  5. String? androidInterstitialAdUnitId,
  6. String? iosInterstitialAdUnitId,
  7. String? androidRewardedAdUnitId,
  8. String? iosRewardedAdUnitId,
  9. String? androidSplashAdUnitId,
  10. String? iosSplashAdUnitId,
  11. String? androidRewardedInterstitialAdUnitId,
  12. String? iosRewardedInterstitialAdUnitId,
  13. List<String>? keywords,
  14. List<String>? countries,
  15. int? splashAdThreshold,
  16. String? adServiceUriAuthority,
  17. int? refreshInterval,
  18. bool? autoRefresh,
  19. bool? showRemoveAdLink,
  20. bool? androidNativeAdmobEnabled,
  21. bool? iosNativeAdmobEnabled,
  22. int? interstitialAdThreshold,
  23. int? splashAdTimeThreshold,
  24. FastAdUnits? androidSplashAdUnits,
  25. FastAdUnits? iosSplashAdUnits,
  26. FastAdUnits? androidInterstitialAdUnits,
  27. FastAdUnits? iosInterstitialAdUnits,
  28. FastAdUnits? androidRewardedAdUnits,
  29. FastAdUnits? iosRewardedAdUnits,
  30. FastAdUnits? androidNativeAdUnits,
  31. FastAdUnits? iosNativeAdUnits,
})
override

Creates a new FastAdInfo instance with the provided properties.

Implementation

@override
FastAdInfo copyWith({
  String? androidNativeAdUnitId,
  String? iosNativeAdUnitId,
  String? androidBannerAdUnitId,
  String? iosBannerAdUnitId,
  String? androidInterstitialAdUnitId,
  String? iosInterstitialAdUnitId,
  String? androidRewardedAdUnitId,
  String? iosRewardedAdUnitId,
  String? androidSplashAdUnitId,
  String? iosSplashAdUnitId,
  String? androidRewardedInterstitialAdUnitId,
  String? iosRewardedInterstitialAdUnitId,
  List<String>? keywords,
  List<String>? countries,
  int? splashAdThreshold,
  String? adServiceUriAuthority,
  int? refreshInterval,
  bool? autoRefresh,
  bool? showRemoveAdLink,
  bool? androidNativeAdmobEnabled,
  bool? iosNativeAdmobEnabled,
  int? interstitialAdThreshold,
  int? splashAdTimeThreshold,
  FastAdUnits? androidSplashAdUnits,
  FastAdUnits? iosSplashAdUnits,
  FastAdUnits? androidInterstitialAdUnits,
  FastAdUnits? iosInterstitialAdUnits,
  FastAdUnits? androidRewardedAdUnits,
  FastAdUnits? iosRewardedAdUnits,
  FastAdUnits? androidNativeAdUnits,
  FastAdUnits? iosNativeAdUnits,
}) =>
    FastAdInfo(
      iosNativeAdUnitId: iosNativeAdUnitId ?? this.iosNativeAdUnitId,
      keywords: keywords ?? this.keywords,
      androidNativeAdUnitId:
          androidNativeAdUnitId ?? this.androidNativeAdUnitId,
      countries: countries ?? this.countries,
      iosBannerAdUnitId: iosBannerAdUnitId ?? this.iosBannerAdUnitId,
      androidBannerAdUnitId:
          androidBannerAdUnitId ?? this.androidBannerAdUnitId,
      iosInterstitialAdUnitId:
          iosInterstitialAdUnitId ?? this.iosInterstitialAdUnitId,
      androidInterstitialAdUnitId:
          androidInterstitialAdUnitId ?? this.androidInterstitialAdUnitId,
      iosRewardedAdUnitId: iosRewardedAdUnitId ?? this.iosRewardedAdUnitId,
      androidRewardedAdUnitId:
          androidRewardedAdUnitId ?? this.androidRewardedAdUnitId,
      iosSplashAdUnitId: iosSplashAdUnitId ?? this.iosSplashAdUnitId,
      androidSplashAdUnitId:
          androidSplashAdUnitId ?? this.androidSplashAdUnitId,
      iosRewardedInterstitialAdUnitId: iosRewardedInterstitialAdUnitId ??
          this.iosRewardedInterstitialAdUnitId,
      androidRewardedInterstitialAdUnitId:
          androidRewardedInterstitialAdUnitId ??
              this.androidRewardedInterstitialAdUnitId,
      splashAdThreshold: splashAdThreshold ?? this.splashAdThreshold,
      adServiceUriAuthority:
          adServiceUriAuthority ?? this.adServiceUriAuthority,
      refreshInterval: refreshInterval ?? this.refreshInterval,
      autoRefresh: autoRefresh ?? this.autoRefresh,
      showRemoveAdLink: showRemoveAdLink ?? this.showRemoveAdLink,
      androidNativeAdmobEnabled:
          androidNativeAdmobEnabled ?? this.androidNativeAdmobEnabled,
      iosNativeAdmobEnabled:
          iosNativeAdmobEnabled ?? this.iosNativeAdmobEnabled,
      interstitialAdThreshold:
          interstitialAdThreshold ?? this.interstitialAdThreshold,
      splashAdTimeThreshold:
          splashAdTimeThreshold ?? this.splashAdTimeThreshold,
      androidSplashAdUnits: iosSplashAdUnits ?? this.androidSplashAdUnits,
      iosSplashAdUnits: iosSplashAdUnits ?? this.iosSplashAdUnits,
      androidInterstitialAdUnits:
          androidInterstitialAdUnits ?? this.androidInterstitialAdUnits,
      iosInterstitialAdUnits:
          iosInterstitialAdUnits ?? this.iosInterstitialAdUnits,
      androidRewardedAdUnits:
          androidRewardedAdUnits ?? this.androidRewardedAdUnits,
      iosRewardedAdUnits: iosRewardedAdUnits ?? this.iosRewardedAdUnits,
      androidNativeAdUnits: androidNativeAdUnits ?? this.androidNativeAdUnits,
      iosNativeAdUnits: iosNativeAdUnits ?? this.iosNativeAdUnits,
    );