FFDirectory class

Platform.pathSeparator表示路径分隔符,对于Android和iOS来说表示‘/’ recursive:false代表操作当前目录。true表示包含所有子目录

Constructors

FFDirectory()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createDirectory(String directory) Future<bool>
deleteDirectory(String directory, {bool? recursive = false}) Future<void>
getPathSeparator() String
isDirectory(String directory) bool
isExistDirectory(String directory) Future<bool>