toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  "id": id,
  "title": title,
  "subtitle": subtitle,
  "bgColor": bgColor,
  "showTitle": showTitle,
  "showSubtitle": showSubtitle,
  "imageOpacity": imageOpacity,
  "mediaKey": mediaKey,
  "baseUrl": baseUrl,
  "titleColor": titleColor,
  "subtitleColor": subtitleColor,
};