AdropRewardedAd class

AdropRewardedAd class responsible for requesting rewarded ads and displaying them to the user.

unitId required Ad unit ID listener optional invoked when a response from load, show method called back.

Constructors

AdropRewardedAd({required String unitId, AdropRewardedListener? listener})

Properties

creativeId String
Returns an Adrop ad's creativeId.
no setter
hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
Returns true if an Adrop ad is loaded.
no setterinherited
listener → AdropAdListener?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unitId String
Returns an Adrop ad's unitId.
no setterinherited

Methods

customize([dynamic data]) Future<void>
Requests to customize an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
dispose() Future<void>
Dispose the Adrop ad to free resources.
inherited
load() Future<void>
Requests an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() Future<void>
Requests to show an ad from Adrop using the Ad unit ID of the Adrop ad.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited