toMap method
Implementation
Map<String, String> toMap() {
final map = <String, String>{};
if (primaryColorHex != null) map['primaryColorHex'] = primaryColorHex!;
if (secondaryColorHex != null) {
map['secondaryColorHex'] = secondaryColorHex!;
}
if (primaryColorDarkHex != null) {
map['primaryColorDarkHex'] = primaryColorDarkHex!;
}
if (secondaryColorDarkHex != null) {
map['secondaryColorDarkHex'] = secondaryColorDarkHex!;
}
if (headerLogo != null) map['headerLogo'] = headerLogo!;
return map;
}