WordInfo.fromJson constructor
WordInfo.fromJson(
- Map json_
Implementation
WordInfo.fromJson(core.Map json_)
: this(
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
endOffset: json_.containsKey('endOffset')
? json_['endOffset'] as core.String
: null,
speakerLabel: json_.containsKey('speakerLabel')
? json_['speakerLabel'] as core.String
: null,
startOffset: json_.containsKey('startOffset')
? json_['startOffset'] as core.String
: null,
word: json_.containsKey('word') ? json_['word'] as core.String : null,
);