CreateGitCommit class
Model class for a new commit to be created.
- Annotations
-
- @JsonSerializable()
Constructors
-
CreateGitCommit(String? message, String? tree, {List<
String?> ? parents, GitCommitUser? committer, GitCommitUser? author}) -
CreateGitCommit.fromJson(Map<
String, dynamic> input) -
factory
Properties
-
Info about the author.
getter/setter pair
- committer ↔ GitCommitUser?
-
Info about the committer.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
The commit message.
getter/setter pair
-
parents
↔ List<
String?> ? -
The SHAs of the commits that were the parents of this commit. If omitted
or empty, the commit will be written as a root commit.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tree ↔ String?
-
The SHA of the tree object this commit points to.
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