toJson method
Implementation
Map<String, Object?> toJson() {
var value = this.value;
var localisedName = this.localisedName;
var localisedDescription = this.localisedDescription;
final json = <String, Object?>{};
if (value != null) {
json[r'value'] = value.value;
}
if (localisedName != null) {
json[r'localisedName'] = localisedName;
}
if (localisedDescription != null) {
json[r'localisedDescription'] = localisedDescription;
}
return json;
}