BaiduUploadHelper constructor
BaiduUploadHelper({})
百度网盘上传的包装类
accessToken 百度网盘的token
localPath
本地文件路径
remotePath 网盘文件路径
memberLevel 百度网盘的用户等级
Implementation
BaiduUploadHelper({
required this.accessToken,
required String localPath,
required this.remotePath,
required this.memberLevel,
this.totalRetryCount = 10,
}) : localPath = File(localPath).absolute.path,
lastModified = File(localPath).lastModifiedSync();