// GENERATED CODE - DO NOT MODIFY BY HAND part of 'upload_result.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UploadResult _$UploadResultFromJson(Map 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) ..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 _$UploadResultToJson(UploadResult instance) => { '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, };