TreeEntry class

Represents an entry within a tree structure (like a Git tree).

Constructors

TreeEntry.new({String? mode, String? path, String? sha, String? size, String? type})
TreeEntry.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
mode String?
The file mode as a string (e.g., "100644").
getter/setter pair
path String?
The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java").
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha String?
The SHA-1 hash of the object (unique identifier).
getter/setter pair
size String?
The size of the object in bytes (only for blobs).
getter/setter pair
type String?
The type of the object (TREE, BLOB, COMMIT).
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