BaiduPanFileManager class
操作文件的管理类
opera string 是 copy URL参数 文件操作:copy, move, rename, delete
- Mixed in types
Constructors
- BaiduPanFileManager(String accessToken, {bool showLog = false, bool secretAccessToken = false})
-
const
Properties
- accessToken → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretAccessToken → bool
-
final
- showLog → bool
-
final
Methods
-
copy(
List< CopyOrMoveItem> items, {OnDuplicateAction? onDuplicateAction}) → Future<Map> - 复制
-
createFolder(
{required String path, OnDuplicateAction onDuplicateAction = OnDuplicateAction.fail, DateTime? createTime, DateTime? modifyTime}) → Future< Map> - 创建文件夹
-
delete(
List< String> items, {OnDuplicateAction? onDuplicateAction}) → Future<Map> - 删除
-
move(
List< CopyOrMoveItem> items, {OnDuplicateAction? onDuplicateAction}) → Future<Map> - 移动
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rename(
List< RenameItem> items, {OnDuplicateAction? onDuplicateAction}) → Future<Map> - 重命名
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited