GitCommit class Null safety

Model class for a git commit.

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

Annotations

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?
read / write
commentCount int?
@JsonKey(name: 'comment_count'), read / write
committer GitCommitUser?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
message String?
read / write
parents List<GitCommit>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sha String?
read / write
tree GitTree?
read / write
url String?
read / write

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