PlatformAdIds class
Ad unit IDs for Android and iOS, with optional debug/test IDs.
In debug builds the package first selects debugAndroid or debugIos for the current platform, then falls back to the shared debug value for backwards compatibility. In release/profile builds it selects the ID for the current platform. Unsupported platforms resolve to an empty string and therefore do not create an ad handler.
Constructors
Properties
- android → String
-
final
- current → String
-
no setter
- debug → String
-
final
- debugAndroid → String
-
final
- debugIos → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ios → String
-
final
- isAvailable → bool
-
Returns true when this value has an ID usable by the current build.
no setter
- isEmpty → bool
-
Returns true when no ID was supplied, including no debug IDs.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited