toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioTracks != null) 'audioTracks': audioTracks!,
      if (diarizationSpeakerCount != null)
        'diarizationSpeakerCount': diarizationSpeakerCount!,
      if (enableAutomaticPunctuation != null)
        'enableAutomaticPunctuation': enableAutomaticPunctuation!,
      if (enableSpeakerDiarization != null)
        'enableSpeakerDiarization': enableSpeakerDiarization!,
      if (enableWordConfidence != null)
        'enableWordConfidence': enableWordConfidence!,
      if (filterProfanity != null) 'filterProfanity': filterProfanity!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (maxAlternatives != null) 'maxAlternatives': maxAlternatives!,
      if (speechContexts != null) 'speechContexts': speechContexts!,
    };