toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (defaultValue != null) 'defaultValue': defaultValue!,
if (description != null) 'description': description!,
if (entry != null) 'entry': entry!,
if (entryValue != null) 'entryValue': entryValue!,
if (key != null) 'key': key!,
if (nestedRestriction != null) 'nestedRestriction': nestedRestriction!,
if (restrictionType != null) 'restrictionType': restrictionType!,
if (title != null) 'title': title!,
};