HistoryItem.fromJson constructor
HistoryItem.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HistoryItem.fromJson(Map<String, dynamic> json) {
return HistoryItem(
historyItemId: json['history_item_id'],
voiceId: json['voice_id'],
voiceName: json['voice_name'],
text: json['text'],
dateUnix: json['date_unix'],
characterCountChangeFrom: json['character_count_change_from'],
characterCountChangeTo: json['character_count_change_to'],
contentType: json['content_type'],
state: json['state'],
);
}