AdUsageExamples class
Usage examples for Google Ads Helper Plugin
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
-
calculateDailyRevenue(
) → void - Example 4: Revenue calculation example
-
initializeInMain(
) → Future< void> - Example 1: Initialize in main.dart for reward app
-
showBonusRewardAd(
{required dynamic onBonusEarned(int coins), required VoidCallback onNoBonus}) → void - Example 3: Show rewarded for bonus coins
-
showTaskCompletionAd(
{required VoidCallback onTaskComplete}) → void - Example 2: Show interstitial after task completion