$AdSlot class Null safety

Used by:

  • dfareporting:v3.4 : AdSlot
  • dfareporting:v3.5 : AdSlot


$AdSlot({String? comment, String? compatibility, String? height, String? linkedPlacementId, String? name, String? paymentSourceType, bool? primary, String? width})
$AdSlot.fromJson(Map _json)


comment String?
Comment for this ad slot.
read / write
compatibility String?
Ad slot compatibility. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height String?
Height of this ad slot.
read / write
linkedPlacementId String?
ID of the placement from an external platform that is linked to this ad slot.
read / write
name String?
Name of this ad slot.
read / write
paymentSourceType String?
Payment source type of this ad slot. Possible string values are: [...]
read / write
primary bool?
Primary ad slot of a roadblock inventory item.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width String?
Width of this ad slot.
read / write


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


operator ==(Object other) bool
The equality operator. [...]