toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "heading": heading.toMap(),
      "caption": caption.toMap(),
      "taskHeading": taskHeading.toMap(),
      "taskCaption": taskCaption.toMap(),
      "taskCardColor": taskCardColor,
      "taskIconId": taskIconId,
      "progressBarColor1": progressBarColor1,
      "progressBarColor2": progressBarColor2,
      "bgColor": bgColor,
      "bannerImageId": bannerImageId,
      "bannerImageUrl": bannerImageUrl,
      "taskIconUrl": taskIconUrl,
    };