FaqSummary.fromJson constructor

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

Implementation

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