toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'backgroundColor': colorToHex(backgroundColor),
    'titleTextColor': colorToHex(titleTextColor),
    'subtitleTextColor': colorToHex(subtitleTextColor),
    'subtitlePartitionColor': colorToHex(subtitlePartitionColor),
    'likePendingColor': colorToHex(likePendingColor),
    'likedColor': colorToHex(likedColor),
    'separatorColor': colorToHex(separatorColor),
  };
}