toJson method
Implementation
Map<String, dynamic> toJson() {
final dataColorPalette = this.dataColorPalette;
final sheet = this.sheet;
final uIColorPalette = this.uIColorPalette;
return {
if (dataColorPalette != null) 'DataColorPalette': dataColorPalette,
if (sheet != null) 'Sheet': sheet,
if (uIColorPalette != null) 'UIColorPalette': uIColorPalette,
};
}