toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adaptation != null) 'adaptation': adaptation!,
      if (autoDecodingConfig != null)
        'autoDecodingConfig': autoDecodingConfig!,
      if (explicitDecodingConfig != null)
        'explicitDecodingConfig': explicitDecodingConfig!,
      if (features != null) 'features': features!,
      if (languageCodes != null) 'languageCodes': languageCodes!,
      if (model != null) 'model': model!,
      if (transcriptNormalization != null)
        'transcriptNormalization': transcriptNormalization!,
      if (translationConfig != null) 'translationConfig': translationConfig!,
    };