VastAdsRequest class

VAST ad request configuration.

Constructors

VastAdsRequest.new({String? adsResponse, String? adTagUrl})
Creates a new VastAdsRequest instance.
VastAdsRequest.fromJson(String source)
Creates a VastAdsRequest from a JSON string.
factory
VastAdsRequest.fromMap(Map<String, dynamic> map)
Creates a VastAdsRequest from a map.
factory

Properties

adsResponse String?
Specifies a VAST document to be used as the ads response instead of making a request via an ad tag URL. This can be useful for debugging and other situations where a VAST response is already available.
final
adTagUrl String?
URL for VAST file.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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