NativeContent class

Native content for a creative.

Constructors

NativeContent({String? advertiserName, Image? appIcon, String? body, String? callToAction, String? clickLinkUrl, String? clickTrackingUrl, String? headline, Image? image, String? priceDisplayText, double? starRating, String? storeUrl, String? videoUrl})
NativeContent.fromJson(Map json_)

Properties

advertiserName String?
The name of the advertiser or sponsor, to be displayed in the ad creative.
getter/setter pair
appIcon Image?
The app icon, for app download ads.
getter/setter pair
body String?
A long description of the ad.
getter/setter pair
callToAction String?
A label for the button that the user is supposed to click.
getter/setter pair
clickLinkUrl String?
The URL that the browser/SDK will load when the user clicks the ad.
getter/setter pair
clickTrackingUrl String?
The URL to use for click tracking.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headline String?
A short title for the ad.
getter/setter pair
image Image?
A large image.
getter/setter pair
A smaller image, for the advertiser's logo.
getter/setter pair
priceDisplayText String?
The price of the promoted app including currency info.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starRating double?
The app rating in the app store.
getter/setter pair
storeUrl String?
The URL to the app store to purchase/download the promoted app.
getter/setter pair
videoUrl String?
The URL to fetch a native video ad.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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