toJson method
Implementation
Map<String, Object?> toJson() {
var id = this.id;
var status = this.status;
var title = this.title;
var spaceId = this.spaceId;
var childPosition = this.childPosition;
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 (spaceId != null) {
json[r'spaceId'] = spaceId;
}
if (childPosition != null) {
json[r'childPosition'] = childPosition;
}
return json;
}