toMap method
Converts the ads settings to a map for easier processing.
Implementation
Map<String, dynamic> toMap() {
return {
'adTagUrl': adTagUrl,
'enableDefaultCompanionSlot': enableDefaultCompanionSlot,
'defaultCompanionSize': defaultCompanionSize?.toMap(),
};
}