FileSystem class abstract

Implementers
Annotations
  • @SPI(name: "mpi")

Constructors

FileSystem()

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

delete(List<String> paths, {Context? ctx}) Future<void>
Delete files.
exist(String path, {Context? ctx}) Future<bool?>
Exist Check file path exist in system
list(String path, {Context? ctx}) Future<FileEntry?>
List all file trees.
mkdir(String path, {Context? ctx}) Future<void>
Mkdir
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String path, {Context? ctx}) Future<Uint8List?>
Read from the path.
remove(String path, {Context? ctx}) Future<void>
Remove directories.
toString() String
A string representation of this object.
inherited
write(String path, Uint8List buff, {Context? ctx}) Future<void>
Write

Operators

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