toJson method

Map<String, dynamic> toJson()

Implementation

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