AdModel constructor
const
AdModel({})
Creates an AdModel with the given parameters.
divId
is the HTML element ID where the ad will be inserted.
slotId
is the AdSense slot identifier.
width
and height
define the ad size.
Implementation
const AdModel({
required this.divId,
required this.slotId,
required this.width,
required this.height,
});