FileModel.fromHistoryJson constructor

FileModel.fromHistoryJson(
  1. Map<String, dynamic> json
)

Implementation

FileModel.fromHistoryJson(Map<String, dynamic> json)
    : fileKey = json["id"],
      fileNm = json["name"],
      originFileNm = json["name"],
      fileExt = json["type"],
      fileSize = json["size"],
      fileSizeText = '',
      expire = json["expire"];