core.Map<core.String, core.dynamic> toJson() => { if (audioConfig != null) 'audioConfig': audioConfig!, if (input != null) 'input': input!, if (voice != null) 'voice': voice!, };