toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (edition != null) 'edition': edition!,
if (enumvalue != null) 'enumvalue': enumvalue!,
if (name != null) 'name': name!,
if (options != null) 'options': options!,
if (sourceContext != null) 'sourceContext': sourceContext!,
if (syntax != null) 'syntax': syntax!,
};