CreateGitTree class

Model class for a new tree to be created.

Annotations

Constructors

CreateGitTree(List<CreateGitTreeEntry>? entries, {String? baseTree})
CreateGitTree.fromJson(Map<String, dynamic> input)
factory

Properties

baseTree ↔ String?
The SHA1 of the tree you want to update with new data. If you don’t set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted.
getter/setter pair
entries ↔ List<CreateGitTreeEntry>?
The Objects specifying a tree structure.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited