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