AddStreamAd class

Constructors

AddStreamAd({required String id, required String zoneId, String? imageUrl, String? clickUrl, String? impressionUrl, String? altText, int? width, int? height})
Creates an AddStream ad.

Properties

altText → String?
Alternative text for the ad image.
final
clickUrl → String?
The URL to open when the ad is clicked.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int?
Height of the ad creative in pixels.
final
id → String
Unique identifier for this ad.
final
imageUrl → String?
The URL of the ad image (for image ads).
final
impressionUrl → String?
The URL to call for impression tracking.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int?
Width of the ad creative in pixels.
final
zoneId → String
The zone ID this ad was fetched from.
final

Methods

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

Operators

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