GitCommit class

Constructors

GitCommit({String? sha, required GitCommitAuthor author, required GitCommitAuthor committer, required String message, dynamic tree, List<String>? parents, String? url})
GitCommit.fromJson(Map<String, dynamic> json)
factory

Properties

author GitCommitAuthor
Who wrote the commit
final
committer GitCommitAuthor
Who deployed the commit
final
hashCode int
The hash code for this object.
no setterinherited
message String
The commit message
final
parents List<String>?
SHAs for the commit's parents
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha String?
The SHA for the commit
final
tree → dynamic
Potential parent commits, and other assorted metadata
final
url String?
Link to the commit
final

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