DiskEntry class
A file or folder found by Disk.list().
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirectory → bool
-
Whether this entry is a folder.
no setter
- isFile → bool
-
Whether this entry is a file.
no setter
- lastModified → DateTime?
-
When the entry last changed, if the driver knows.
final
- name → String
-
The last segment of path, e.g.
photo.jpg.no setter - path → String
-
The path on the disk:
/-separated, with no leading slash.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
The size in bytes, for files.
final
- type → DiskEntryType
-
Whether this is a file or a folder.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited