copyWith method

SplashAdRequest copyWith({
  1. String? posId,
  2. Duration? timeout,
  3. bool? preload,
  4. SplashAdAndroidOptions? android,
  5. SplashAdIOSOptions? ios,
})

Implementation

SplashAdRequest copyWith({
  String? posId,
  Duration? timeout,
  bool? preload,
  SplashAdLogo? logo,
  SplashAdAndroidOptions? android,
  SplashAdIOSOptions? ios,
}) {
  return SplashAdRequest(
    posId: posId ?? this.posId,
    timeout: timeout ?? this.timeout,
    preload: preload ?? this.preload,
    logo: logo ?? this.logo,
    android: android ?? this.android,
    ios: ios ?? this.ios,
  );
}