FlutterAdsInterstitial class
Interstitial ad
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
init(
{String? iosId, String? androidId}) → void -
Preload ad:
ProductThe parametersiosIdorandroidIdare required in the production environment, depending on the target platform.DebugIn the debug environment, you can choose to provide or omit the parameters, as they are already set with test IDsStagingIn the staging environment, you need to manually set test IDs for each target platform. I have provided the IDs below; simply copy and set the appropriate one.androidId'ca-app-pub-3940256099942544/1033173712'iosId'ca-app-pub-3940256099942544/4411468910' -
release(
) → void - Release ad
-
show(
) → Future< bool> - Display ad