AdropNativeAd class

AdropNativeAd class responsible for requesting native ads.

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

Constructors

AdropNativeAd({required String unitId, AdropNativeListener? 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 setter
listener AdropNativeListener?
final
properties → AdropNativeProperties
Returns an Adrop native ad's properties.
no setter
requestId String
internal requestId for interaction.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unitId String
Returns an Adrop ad's unitId.
no setter

Methods

load() Future<void>
Requests an ad from Adrop using the Ad unit ID of the Adrop ad.
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