toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (links != null) r'_links': links,
if (description != null) r'description': description,
if (id != null) r'id': id,
if (name != null) r'name': name,
if (type != null) r'type': type,
};
}