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.new({required String unitId, AdropRewardedListener? listener})

Properties

browserTarget BrowserTarget?
Returns an Adrop ad's browser target.
no setterinherited
campaignId String
Returns an Adrop ad's campaign id.
no setterinherited
creativeId String
Returns an Adrop ad's creativeId.
no setterinherited
destinationURL String
Returns an Adrop ad's destination url.
no setterinherited
extraLoadArgs Map<String, dynamic>
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
serverSideVerificationOptions ServerSideVerificationOptions?
getter/setter pair
txId String
Returns an Adrop ad's transaction id.
no setterinherited
unitId String
Returns an Adrop ad's unitId.
no setterinherited

Methods

closeAd() Future<void>
Requests to close a popup ad.
inherited
customize([dynamic data]) Future<void>
Requests to customize a popup 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