toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'titleColor': colorToHex(backgroundColor),
'subtitleColor': colorToHex(backgroundColor),
'backgroundColor': colorToHex(backgroundColor),
'imageBackgroundColor': colorToHex(backgroundColor),
'cornerRadius': cornerRadius,
'imageCornerRadius': imageCornerRadius,
};
}