Properties
-
exists
→ bool
-
True if resource exists in the underlying storage system.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isDirectory
→ bool
-
True for the case
TryGetDirectoryContents has enumerated a sub-directory
no setter
-
lastModified
→ DateTime
-
When the file was last modified
no setter
-
length
→ int
-
The length of the file in bytes, or -1 for a directory
or non-existing files.
no setter
-
name
→ String
-
The name of the file or directory, not including any path.
no setter
-
physicalPath
→ String?
-
The path to the file, including the file name. Return
null if the file is not directly accessible.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createReadStream()
→ Stream
-
Return file contents as readonly stream. Caller should dispose stream
when complete.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited