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