copyWith method
FastRewardedAdBlocEventPayload
copyWith({
- FastAdInfo? adInfo,
- String? country,
- dynamic error,
- bool? isAdLoaded,
- RewardItem? reward,
- Duration? blockDuration,
Implementation
FastRewardedAdBlocEventPayload copyWith({
FastAdInfo? adInfo,
String? country,
dynamic error,
bool? isAdLoaded,
RewardItem? reward,
Duration? blockDuration,
}) {
return FastRewardedAdBlocEventPayload(
adInfo: adInfo ?? this.adInfo,
country: country ?? this.country,
error: error ?? this.error,
reward: reward ?? this.reward,
blockDuration: blockDuration ?? this.blockDuration,
);
}