toJson method
Implementation
Map<String, Object?> toJson() {
var links = this.links;
var created = this.created;
var id = this.id;
var name = this.name;
final json = <String, Object?>{};
if (links != null) {
json[r'_links'] = links.toJson();
}
if (created != null) {
json[r'created'] = created.toJson();
}
if (id != null) {
json[r'id'] = id;
}
if (name != null) {
json[r'name'] = name;
}
return json;
}