Map<String, dynamic> toJson() { final gain = this.gain; final inputChannel = this.inputChannel; return { 'gain': gain, 'inputChannel': inputChannel, }; }