toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (hexColor != null) 'hexColor': hexColor!,
if (localizations != null) 'localizations': localizations!,
if (sourceLangCode != null) 'sourceLangCode': sourceLangCode!,
if (text != null) 'text': text!,
};