File class

Inheritance

Constructors

File(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

compareWith(File file) Future<bool>
Comparing two files for content equality.
copy(String path) File
create({bool recursive = false}) → void
delete({bool recursive = false}) → void
inherited
exists() bool
inherited
generateHash({Hash hashMethod = sha1}) Future<Digest>
Method that generates a hash code from the contents of a file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openRead() Stream<List<int>>
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