toMap method

Map<String, dynamic> toMap()

Converts this AdModel into a Map representation.

Implementation

Map<String, dynamic> toMap() {
  return {
    'divId': divId,
    'slot': slotId,
    'width': width,
    'height': height,
  };
}