Dir class

Inheritance

Constructors

Dir(String path, {Disk? io})

Properties

hashCode → int
The hash code for this object.
no setterinherited
io → Disk
finalinherited
parent → Dir
no setterinherited
path ↔ String
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → EntityType
finalinherited

Methods

create({bool recursive = false}) → void
delete({bool recursive = false}) → void
inherited
exists() → bool
inherited
list({bool recursive = false, void onException(Exception e, Entity entity)?}) → Stream<Entity>
Recursively browses the contents of a directory and returns type File.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(String newName) → void
inherited
stat() → Stat
inherited
toString() → String
A string representation of this object.
inherited

Operators

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