toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attribute != null) 'attribute': attribute!,
if (description != null) 'description': description!,
if (pathPatternSupported != null)
'pathPatternSupported': pathPatternSupported!,
if (required != null) 'required': required!,
};