hasCommit property

bool get hasCommit

Returns true if commit is not null, otherwise false.

Implementation

bool get hasCommit => commit != null;