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