GitHubCommit class Null safety

Constructors

GitHubCommit({required GitCommit commit, required String sha, required String url, GitHubUser? author, GitHubUser? committer, List? parents})
GitHubCommit.fromJson(Map<String, dynamic> json)
factory

Properties

author GitHubUser?
The GitHub user who wrote the code
final
commit GitCommit
The raw commit metadata
final
committer GitHubUser?
The GitHub user who shipped the code
final
hashCode int
The hash code for this object.
read-onlyinherited
parents List?
An array of parent commit shas
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sha String
The SHA for the commit
final
url String
the url for the commit on GitHub
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