Ad class abstract

The base class for all ads.

A valid adUnitId is required.

Constructors

Ad({required String adUnitId, ResponseInfo? responseInfo})
Default constructor, used by subclasses.

Properties

adUnitId → String
Identifies the source of Ads for your application.
final
hashCode → int
The hash code for this object.
no setterinherited
responseInfo ↔ ResponseInfo?
Contains information about the loaded request.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Frees the plugin resources associated with this ad.
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