toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'titleColor': colorToHex(titleColor),
    'textFieldTextColor': colorToHex(textFieldTextColor),
    'textFieldBackgroundColor': colorToHex(textFieldBackgroundColor),
    'textFieldPlaceholderColor': colorToHex(textFieldPlaceholderColor),
    'sendButtonBackgroundColor': colorToHex(sendButtonBackgroundColor),
    'sendButtonIconColor': colorToHex(sendButtonIconColor),
    'separatorColor': colorToHex(separatorColor),
  };
}