GitCommit class

Model class for a git commit.

Note: This is the raw GitCommit. The RepositoryCommit is a repository commit containing GitHub-specific information.

Annotations
  • @JsonSerializable()

Constructors

GitCommit({String? sha, String? url, GitCommitUser? author, GitCommitUser? committer, String? message, GitTree? tree, List<GitCommit>? parents, int? commentCount})
GitCommit.fromJson(Map<String, dynamic> input)
factory

Properties

author GitCommitUser?
getter/setter pair
commentCount int?
getter/setter pair
committer GitCommitUser?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pair
parents List<GitCommit>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha String?
getter/setter pair
tree GitTree?
getter/setter pair
url String?
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