toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (label != null) 'label': label!,
if (localizedLabel != null) 'localizedLabel': localizedLabel!,
if (localizedValue != null) 'localizedValue': localizedValue!,
if (value != null) 'value': value!,
};