CreateGitTree class Null safety

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.
read / write
entries List<CreateGitTreeEntry>?
The Objects specifying a tree structure.
@JsonKey(name: 'tree'), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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