GitCommit class Null safety

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.
read-onlyinherited
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.
read-onlyinherited
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 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