RecognizeResponse.fromJson constructor
RecognizeResponse.fromJson(
- Map json_
Implementation
RecognizeResponse.fromJson(core.Map json_)
: this(
requestId: json_.containsKey('requestId')
? json_['requestId'] as core.String
: null,
results: json_.containsKey('results')
? (json_['results'] as core.List)
.map((value) => SpeechRecognitionResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
speechAdaptationInfo: json_.containsKey('speechAdaptationInfo')
? SpeechAdaptationInfo.fromJson(json_['speechAdaptationInfo']
as core.Map<core.String, core.dynamic>)
: null,
totalBilledTime: json_.containsKey('totalBilledTime')
? json_['totalBilledTime'] as core.String
: null,
usingLegacyModels: json_.containsKey('usingLegacyModels')
? json_['usingLegacyModels'] as core.bool
: null,
);