GitCommit class

Represents a Git commit.

Annotations

Constructors

GitCommit(String id, { String authorEmail String authorName String committerEmail String committerName String message })
Creates a new commit.
const
GitCommit.fromJson(Map<String, dynamic> map)
Creates a new commit from the specified map in JSON format.
factory

Properties

authorEmail → String
The author mail address.
final
authorName → String
The author name.
final
committerEmail → String
The committer mail address.
final
committerName → String
The committer name.
final
id → String
The commit identifier.
final
message → String
The commit message.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
Converts this object to a Map in JSON format.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited