ThesaurusSummary.fromJson constructor

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

Implementation

factory ThesaurusSummary.fromJson(Map<String, dynamic> json) {
  return ThesaurusSummary(
    createdAt: timeStampFromJson(json['CreatedAt']),
    id: json['Id'] as String?,
    name: json['Name'] as String?,
    status: (json['Status'] as String?)?.toThesaurusStatus(),
    updatedAt: timeStampFromJson(json['UpdatedAt']),
  );
}