toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (fields != null) r'fields': fields,
if (description != null) r'description': description,
if (from != null) r'from': from,
if (id != null) r'id': id,
if (name != null) r'name': name,
if (required_ != null) r'required': required_,
if (to != null) r'to': to,
if (type != null) r'type': type,
};
}