Word.fromJson constructor
Implementation
factory Word.fromJson(Map<String, dynamic> json) => Word(
text: json['text'] as String,
start: (json['start'] as num?)?.toDouble() ?? 0.0,
end: (json['end'] as num?)?.toDouble() ?? 0.0,
type: json['type'] as String?,
logprob: (json['logprob'] as num?)?.toDouble(),
speakerId: json['speaker_id'] as String?,
);