FFAdMobAction constructor

FFAdMobAction({
  1. FFAdMobLoadInterstitialAd? load,
  2. FFAdMobShowInterstitialAd? show,
  3. FFAdMobRequestConsent? requestConsent,
  4. FFAdMobCheckConsentNotRequired? checkConsentNotRequired,
})

Implementation

factory FFAdMobAction({
  FFAdMobLoadInterstitialAd? load,
  FFAdMobShowInterstitialAd? show,
  FFAdMobRequestConsent? requestConsent,
  FFAdMobCheckConsentNotRequired? checkConsentNotRequired,
}) {
  final result = create();
  if (load != null) result.load = load;
  if (show != null) result.show = show;
  if (requestConsent != null) result.requestConsent = requestConsent;
  if (checkConsentNotRequired != null)
    result.checkConsentNotRequired = checkConsentNotRequired;
  return result;
}