copyWith method
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,
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,
);