baidupan library Null safety

Classes

BaiduAuth
BaiduAuthManager
处理获取百度的 token
BaiduAuthUtils
BaiduFileMetaItem
BaiduFileMetaList
BaiduMd5
BaiduPan
所有的具体的参数含义参照: 百度网盘的官方文档
BaiduPanFileManager
操作文件的管理类
BaiduPanUploadManager
处理上传文件
BaiduUploadHelper
对于上传百度网盘的包装类
BtItem
CategoryCount
{"real_server_mtime_2":"1551423842","size":80051673570,"total":5630,"count":5630}
CategoryItem
CategoryList
"cursor": 223,
CopyOrMoveItem
DiskSpace
DocItem
FileAllList
FileInfo
FileItem
FileList
Md5Utils
MediaItem
MediaThumb
PreCreate
RenameItem
SearchItem
{ "category": 1, "delete_type": 0, "extent_tinyint1": 0, "fs_id": 698915277947, "isdir": 0, "local_ctime": 1614139266, "local_mtime": 1614139266, "md5": "3d0b9004fn15a13dd35763a5b44402e3", "oper_id": 2469771319, "owner_id": 0, "path": "/\u7092\u80a1\u4e13\u7528/\u65e0\u4e3a/\u5e38\u89c4\u76f4\u64ad/2021-02-24/2021\u5e742\u670824\u65e5 \u5e08\u5f92\u804a\u884c\u60c5.mkv", "server_ctime": 1614220286, "server_filename": "2021\u5e742\u670824\u65e5 \u5e08\u5f92\u804a\u884c\u60c5.mkv", "server_mtime": 1615352492, "share": 0, "size": 246073844, "wpfile": 0 }
SearchList
TypeFileList<T>
UploadPart
UploadSuccess
UserInfo

Mixins

BaiduPanMixin
ICategoryItem
IFileItem
ILogger
UploadHelperListener
上传的回调, 是一个 mixin

Extensions

BaiduPanExt1
FileCategoryExt
OnDuplicateExt
OrderMapExt

Enums

BaiduCategory
BaiduOrder
如果接口包含多种类型,则优先按类型排序,再按此字段排序 官方文档说明: https://pan.baidu.com/union/doc/nksg0sat9 参考请求的order字段的说明
OnDuplicateAction
fail(默认,直接返回失败)、newcopy(重命名文件)、overwrite、skip
UploadRenameRtype
上传文件的命名策略

Typedefs

BaiduUploadProgress = dynamic Function(int count, int max)
Md5Calculated = void Function(BaiduMd5 md5)

Exceptions / Errors

BaiduPanError
表示百度网盘的错误信息