File class
File information about the related binary/library used by an executable, or the script used by a script interpreter
Constructors
Properties
- contents ↔ String?
-
Prefix of the file contents as a JSON-encoded string.
getter/setter pair
- diskPath ↔ DiskPath?
-
Path of the file in terms of underlying disk/partition identifiers.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashedSize ↔ String?
-
The length in bytes of the file prefix that was hashed.
getter/setter pair
- partiallyHashed ↔ bool?
-
True when the hash covers only a prefix of the file.
getter/setter pair
- path ↔ String?
-
Absolute path of the file as a JSON encoded string.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sha256 ↔ String?
-
SHA256 hash of the first hashed_size bytes of the file encoded as a hex
string.
getter/setter pair
- size ↔ String?
-
Size of the file in bytes.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited