commit property

Commit get commit

Returns this data as Commit.

Make sure to check if this object is Commit with isCommit.

Implementation

Commit get commit => this.data as Commit;