File class
Returns information about a file in a repository.
Constructors
- File.new({String? absolutePath, String? blobId, FileModeTypeEnum? fileMode, String? relativePath})
-
File.fromJson(Map<
String, dynamic> json) -
factory
Properties
- absolutePath → String?
-
The fully qualified path to the file in the repository.
final
- blobId → String?
-
The blob ID that contains the file information.
final
- fileMode → FileModeTypeEnum?
-
The extrapolated file mode permissions for the file. Valid values include
EXECUTABLE and NORMAL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- relativePath → String?
-
The relative path of the file from the folder where the query originated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited