toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"button_text_color":
this.ButtonTextColor.value.toString().replaceFirst("0xFF", "#"),
"popup_main_icon": this.PopupMainIcon,
"primary_color":
this.PrimaryColor.value.toString().replaceFirst("0xFF", "#"),
"secondary_color":
this.SecondaryColor.value.toString().replaceFirst("0xFF", "#"),
"text_color": this.TextColor.value.toString().replaceFirst("0xFF", "#"),
};
}