AdModel class

A model representing the configuration of a Google AdSense banner.

Constructors

AdModel({required String divId, required String slotId, required int width, required int height})
Creates an AdModel with the given parameters.
const

Properties

divId → String
The HTML div element ID where the ad will be rendered.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
The height of the ad in pixels.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slotId → String
The Google AdSense slot ID for the ad.
final
width → int
The width of the ad in pixels.
final

Methods

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

Operators

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