toJson method

Map<String, dynamic> toJson()

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!,
    };