toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data["headerTitle"] = headerTitle?.toHex();
data["subheaderTitle"] = subheaderTitle?.toHex();
data["textSecondary"] = textSecondary?.toHex();
data["docTypeBgColor"] = docTypeBgColor?.toHex();
data["docTypeTextColor"] = docTypeTextColor?.toHex();
data["docTypeBorderColor"] = docTypeBorderColor?.toHex();
data["textItemType"] = textItemType?.toHex();
data["blueBigType"] = blueBigType?.toHex();
data["primaryButtonBgColor"] = primaryButtonBgColor?.toHex();
data["primaryButtonPressedBgColor"] = primaryButtonPressedBgColor?.toHex();
data["primaryButtonBorderColor"] = primaryButtonBorderColor?.toHex();
data["primaryButtonTextColor"] = primaryButtonTextColor?.toHex();
data["secondaryButtonBgColor"] = secondaryButtonBgColor?.toHex();
data["secondaryButtonPressedBgColor"] = secondaryButtonPressedBgColor?.toHex();
data["secondaryButtonBorderColor"] = secondaryButtonBorderColor?.toHex();
data["secondaryButtonTextColor"] = secondaryButtonTextColor?.toHex();
data["linkButtonTextColor"] = linkButtonTextColor?.toHex();
data["popUpBgColor"] = popUpBgColor?.toHex();
data["popUpTitleColor"] = popUpTitleColor?.toHex();
return data;
}