SpeechRecognitionAlternative.fromJson constructor
SpeechRecognitionAlternative.fromJson(
- Map json_
Implementation
SpeechRecognitionAlternative.fromJson(core.Map json_)
: this(
confidence: (json_['confidence'] as core.num?)?.toDouble(),
transcript: json_['transcript'] as core.String?,
words: (json_['words'] as core.List?)
?.map((value) => WordInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
);