NativeAd class
Constructors
- NativeAd(String placementId, {NativeAdEmptyFunction? onAdLoaded, NativeAdEmptyFunction? onAdClosed, NativeAdEmptyFunction? onAdClicked, NativeAdErrorFunction? onError, NativeAdEmptyFunction? onAdShown})
Properties
- advertiser ↔ String?
-
getter/setter pair
- callToAction ↔ String?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headline ↔ String?
-
getter/setter pair
- icon ↔ Image?
-
getter/setter pair
- id → String
-
final
- image ↔ Image?
-
getter/setter pair
- isLoaded ↔ bool
-
getter/setter pair
- onAdClicked → NativeAdEmptyFunction?
-
final
- onAdClosed → NativeAdEmptyFunction?
-
final
- onAdLoaded → NativeAdEmptyFunction?
-
final
- onAdShown → NativeAdEmptyFunction?
-
final
- onError → NativeAdErrorFunction?
-
final
- placementId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void -
loadAd(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordClick(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited