toMap method

Map<String, dynamic> toMap()

Implementation

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