FFAdMobSettings constructor
FFAdMobSettings({
- String? iosAppKey,
- String? androidAppKey,
- FFEditMetadata? editMetadata,
- bool? showConsentAtLaunch,
- bool? showTestAds,
- bool? tagForChildDirectedTreatment,
- bool? tagForUnderAgeOfConsent,
- FFAdMobSettings_MaxAdContentRating? maxAdContentRating,
- bool? enabled,
Implementation
factory FFAdMobSettings({
$core.String? iosAppKey,
$core.String? androidAppKey,
FFEditMetadata? editMetadata,
$core.bool? showConsentAtLaunch,
$core.bool? showTestAds,
$core.bool? tagForChildDirectedTreatment,
$core.bool? tagForUnderAgeOfConsent,
FFAdMobSettings_MaxAdContentRating? maxAdContentRating,
$core.bool? enabled,
}) {
final result = create();
if (iosAppKey != null) result.iosAppKey = iosAppKey;
if (androidAppKey != null) result.androidAppKey = androidAppKey;
if (editMetadata != null) result.editMetadata = editMetadata;
if (showConsentAtLaunch != null)
result.showConsentAtLaunch = showConsentAtLaunch;
if (showTestAds != null) result.showTestAds = showTestAds;
if (tagForChildDirectedTreatment != null)
result.tagForChildDirectedTreatment = tagForChildDirectedTreatment;
if (tagForUnderAgeOfConsent != null)
result.tagForUnderAgeOfConsent = tagForUnderAgeOfConsent;
if (maxAdContentRating != null)
result.maxAdContentRating = maxAdContentRating;
if (enabled != null) result.enabled = enabled;
return result;
}