toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (adaptation != null) 'adaptation': adaptation!,
if (alternativeLanguageCodes != null)
'alternativeLanguageCodes': alternativeLanguageCodes!,
if (audioChannelCount != null) 'audioChannelCount': audioChannelCount!,
if (diarizationConfig != null) 'diarizationConfig': diarizationConfig!,
if (enableAutomaticPunctuation != null)
'enableAutomaticPunctuation': enableAutomaticPunctuation!,
if (enableSeparateRecognitionPerChannel != null)
'enableSeparateRecognitionPerChannel':
enableSeparateRecognitionPerChannel!,
if (enableSpokenEmojis != null)
'enableSpokenEmojis': enableSpokenEmojis!,
if (enableSpokenPunctuation != null)
'enableSpokenPunctuation': enableSpokenPunctuation!,
if (enableWordConfidence != null)
'enableWordConfidence': enableWordConfidence!,
if (enableWordTimeOffsets != null)
'enableWordTimeOffsets': enableWordTimeOffsets!,
if (encoding != null) 'encoding': encoding!,
if (languageCode != null) 'languageCode': languageCode!,
if (maxAlternatives != null) 'maxAlternatives': maxAlternatives!,
if (metadata != null) 'metadata': metadata!,
if (model != null) 'model': model!,
if (profanityFilter != null) 'profanityFilter': profanityFilter!,
if (sampleRateHertz != null) 'sampleRateHertz': sampleRateHertz!,
if (speechContexts != null) 'speechContexts': speechContexts!,
if (transcriptNormalization != null)
'transcriptNormalization': transcriptNormalization!,
if (useEnhanced != null) 'useEnhanced': useEnhanced!,
};