toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (color != null) 'color': color!,
if (colorStyle != null) 'colorStyle': colorStyle!,
if (type != null) 'type': type!,
if (value != null) 'value': value!,
};