CommitSections class

A grouping of commit changes.

Groups are for bugFixes, features, and breakingChanges.

Constructors

CommitSections()

Properties

breakingChanges List<Commit>
Commits that have breaking changes
final
bugFixes List<Commit>
Bug fix commits
final
features List<Commit>
Commits that add new features
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether there are no items in all commit groups.
no setter
isNotEmpty bool
Whether there are items in commit groups
no setter
performance List<Commit>
Performance improvement commits
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

add(Commit commit) bool
Adds a commit to the CommitSections.
fromCommits(List<Commit> commits) CommitSections
Create a CommitSections based on commits.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited