copyWith static method
AdModuleWithCallBacks
copyWith({
- dynamic onCloseEvent()?,
- dynamic onFailed()?,
- dynamic onRewardSkip()?,
- dynamic onLoadFailed()?,
- dynamic onAdStarted()?,
- dynamic onAdLoaded()?,
Implementation
static AdModuleWithCallBacks copyWith({
Function()? onCloseEvent,
Function()? onFailed,
Function()? onRewardSkip,
Function()? onLoadFailed,
Function()? onAdStarted,
Function()? onAdLoaded,
}) {
return AdModuleWithCallBacks(
onAdLoaded: onAdLoaded,
onAdStarted: onAdStarted,
onFailed: onFailed,
onLoadFailed: onLoadFailed,
onRewardSkip: onRewardSkip,
onCloseEvent: onCloseEvent,
);
}