Dir class
Represents a directory in the file system.
The Dir class provides a way to interact with a directory in the file system. It allows you to specify the path to the directory, whether to list the contents of the directory, and which file system to use.
Constructors
Properties
- fileSystem → FileSystem
-
The file system to use.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listDirectory → bool
-
Whether to list the contents of the directory.
final
- path → String
-
The path to the directory.
final
- 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