resolved method
Returns the ad unit ID for the current platform.
In debug builds (kDebugMode is true), this returns the
corresponding Google test ad ID instead of the production ID.
This prevents accidental policy violations during development.
Returns the ad unit ID for the current platform.
In debug builds (kDebugMode is true), this returns the
corresponding Google test ad ID instead of the production ID.
This prevents accidental policy violations during development.
Set adType to select the correct test ID. Defaults to
AdType.banner.
Implementation
String resolved({AdType adType = AdType.banner}) {
if (kDebugMode) {
return _testIdFor(adType);
}
return _platformId;
}