core.Map<core.String, core.dynamic> toJson() => { if (synonyms != null) 'synonyms': synonyms!, if (value != null) 'value': value!, };