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,
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
speakerLabel: json_.containsKey('speakerLabel')
? json_['speakerLabel'] as core.String
: null,
speakerTag: json_.containsKey('speakerTag')
? json_['speakerTag'] as core.int
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
word: json_.containsKey('word') ? json_['word'] as core.String : null,
);