toMap method

Map toMap()

Conversion to Map

Implementation

Map toMap() {
  Map map = Map();
  if (action != null) map[_ACTION] = action!.toMap();
  if (contentUrl != null) map[_CONTENT_URL] = contentUrl;
  if (showTime != null) map[_SHOWTIME] = showTime;
  if (numberOfShows != null) map[_NUMBER_OF_SHOWS] = numberOfShows;
  if (numberOfClicks != null) map[_NUMBER_OF_CLICKS] = numberOfClicks;
  if (dismissForever != null) map[_DISMISS_FOREVER] = dismissForever;
  return map;
}