Map<String, dynamic> toJson() { final streamName = this.streamName; return { if (streamName != null) 'streamName': streamName, }; }