AdUnit class Null safety

Constructors

AdUnit({String? code, AdUnitContentAdsSettings? contentAdsSettings, AdStyle? customStyle, String? id, String? kind, AdUnitMobileContentAdsSettings? mobileContentAdsSettings, String? name, String? status})
AdUnit.fromJson(Map _json)

Properties

code String?
Identity code of this ad unit, not necessarily unique across ad clients.
read / write
contentAdsSettings AdUnitContentAdsSettings?
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
read / write
customStyle AdStyle?
Custom style information specific to this ad unit.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
Unique identifier of this ad unit. [...]
read / write
kind String?
Kind of resource this is, in this case adsensehost#adUnit.
read / write
mobileContentAdsSettings AdUnitMobileContentAdsSettings?
Settings specific to WAP mobile content ads (AFMC - deprecated).
read / write
name String?
Name of this ad unit.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String?
Status of this ad unit. [...]
read / write

Methods

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