toJson method
Implementation
Map<String, Object?> toJson() {
var id = this.id;
var status = this.status;
var title = this.title;
var type = this.type;
var spaceId = this.spaceId;
final json = <String, Object?>{};
if (id != null) {
json[r'id'] = id;
}
if (status != null) {
json[r'status'] = status;
}
if (title != null) {
json[r'title'] = title;
}
if (type != null) {
json[r'type'] = type;
}
if (spaceId != null) {
json[r'spaceId'] = spaceId;
}
return json;
}