GoogleCloudDialogflowCxV3InputAudioConfig.fromJson constructor
GoogleCloudDialogflowCxV3InputAudioConfig.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowCxV3InputAudioConfig.fromJson(core.Map json_)
: this(
audioEncoding: json_.containsKey('audioEncoding')
? json_['audioEncoding'] as core.String
: null,
bargeInConfig: json_.containsKey('bargeInConfig')
? GoogleCloudDialogflowCxV3BargeInConfig.fromJson(
json_['bargeInConfig'] as core.Map<core.String, core.dynamic>)
: null,
enableWordInfo: json_.containsKey('enableWordInfo')
? json_['enableWordInfo'] as core.bool
: null,
model:
json_.containsKey('model') ? json_['model'] as core.String : null,
modelVariant: json_.containsKey('modelVariant')
? json_['modelVariant'] as core.String
: null,
optOutConformerModelMigration:
json_.containsKey('optOutConformerModelMigration')
? json_['optOutConformerModelMigration'] as core.bool
: null,
phraseHints: json_.containsKey('phraseHints')
? (json_['phraseHints'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
sampleRateHertz: json_.containsKey('sampleRateHertz')
? json_['sampleRateHertz'] as core.int
: null,
singleUtterance: json_.containsKey('singleUtterance')
? json_['singleUtterance'] as core.bool
: null,
);