NativeAd class Null safety

Constructors

NativeAd(String placementId, {NativeAdEmptyFunction? onAdLoaded, NativeAdEmptyFunction? onAdClosed, NativeAdEmptyFunction? onAdClicked, NativeAdErrorFunction? onError, NativeAdEmptyFunction? onAdShown})

Properties

advertiser String?
read / write
callToAction String?
read / write
description String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headline String?
read / write
icon Image?
read / write
id String
final
image Image?
read / write
isLoaded bool
read / write
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.
read-only, inherited

Methods

destroy() → void
loadAd() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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