FileModel.fromJson constructor
Implementation
FileModel.fromJson(Map<String, dynamic> json)
: fileNm = json['fileNm'],
fileSize = json['fileSize'],
expire = json['expire'],
fileKey = json['fileKey'],
fileSizeText = json['fileSizeText'],
fileExt = json['fileExt'],
originFileNm = json['originFileNm'] {
fileExt ??= originFileNm?.split(".").last;
}