toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.title != null) {
json[r'title'] = this.title;
} else {
json[r'title'] = null;
}
if (this.workspaceId != null) {
json[r'workspaceId'] = this.workspaceId;
} else {
json[r'workspaceId'] = null;
}
if (this.roomId != null) {
json[r'roomId'] = this.roomId;
} else {
json[r'roomId'] = null;
}
json[r'metadata'] = this.metadata;
return json;
}