toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (default_ != null) r'default': default_,
if (description != null) r'description': description,
if (enum_ != null) r'enum': enum_,
if (format != null) r'format': format,
if (id != null) r'id': id,
if (maxItems != null) r'maxItems': maxItems,
if (minItems != null) r'minItems': minItems,
if (oneOf != null) r'oneOf': oneOf,
if (propertyOrder != null) r'propertyOrder': propertyOrder,
if (title != null) r'title': title,
if (type != null) r'type': type,
};
}