UtteranceData.fromJson constructor

UtteranceData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UtteranceData.fromJson(Map<String, dynamic> json) {
  return UtteranceData(
    count: json['count'] as int?,
    distinctUsers: json['distinctUsers'] as int?,
    firstUtteredDate: timeStampFromJson(json['firstUtteredDate']),
    lastUtteredDate: timeStampFromJson(json['lastUtteredDate']),
    utteranceString: json['utteranceString'] as String?,
  );
}