You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.4 KiB
65 lines
2.4 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'upload_result.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
UploadResult _$UploadResultFromJson(Map<String, dynamic> json) => UploadResult() |
|
..id = json['id'] as String? |
|
..createTime = json['createTime'] as String? |
|
..createUser = json['createUser'] as String? |
|
..updateTime = json['updateTime'] as String? |
|
..updateUser = json['updateUser'] as String? |
|
..dataType = json['dataType'] == null |
|
? null |
|
: DataType.fromJson(json['dataType'] as Map<String, dynamic>) |
|
..submittedFileName = json['submittedFileName'] as String? |
|
..treePath = json['treePath'] as String? |
|
..grade = (json['grade'] as num?)?.toInt() |
|
..isDelete = json['isDelete'] as bool? |
|
..folderId = json['folderId'] as String? |
|
..url = json['url'] as String? |
|
..size = json['size'] as String? |
|
..folderName = json['folderName'] as String? |
|
..group = json['group'] |
|
..path = json['path'] as String? |
|
..relativePath = json['relativePath'] as String? |
|
..fileMd5 = json['fileMd5'] |
|
..contextType = json['contextType'] as String? |
|
..filename = json['filename'] as String? |
|
..ext = json['ext'] as String? |
|
..icon = json['icon'] as String? |
|
..createMonth = json['createMonth'] as String? |
|
..createWeek = json['createWeek'] as String? |
|
..createDay = json['createDay'] as String?; |
|
|
|
Map<String, dynamic> _$UploadResultToJson(UploadResult instance) => |
|
<String, dynamic>{ |
|
'id': instance.id, |
|
'createTime': instance.createTime, |
|
'createUser': instance.createUser, |
|
'updateTime': instance.updateTime, |
|
'updateUser': instance.updateUser, |
|
'dataType': instance.dataType?.toJson(), |
|
'submittedFileName': instance.submittedFileName, |
|
'treePath': instance.treePath, |
|
'grade': instance.grade, |
|
'isDelete': instance.isDelete, |
|
'folderId': instance.folderId, |
|
'url': instance.url, |
|
'size': instance.size, |
|
'folderName': instance.folderName, |
|
'group': instance.group, |
|
'path': instance.path, |
|
'relativePath': instance.relativePath, |
|
'fileMd5': instance.fileMd5, |
|
'contextType': instance.contextType, |
|
'filename': instance.filename, |
|
'ext': instance.ext, |
|
'icon': instance.icon, |
|
'createMonth': instance.createMonth, |
|
'createWeek': instance.createWeek, |
|
'createDay': instance.createDay, |
|
};
|
|
|