ChangelogEntry class

A semantic changelog entry: one release version and its change bullets.

Annotations

Constructors

ChangelogEntry({required String version, required List<String> bullets, String? date, String? title, Map<String, List<String>> sections = const {}})
Creates an entry.
const

Properties

bullets → List<String>
Change bullets for this release, in document order.
final
date → String?
Optional release date string, e.g. 2026-01-15.
final
hashCode → int
The hash code for this object.
no setterinherited
isCategorized → bool
True when this entry uses named subsections instead of flat bullets.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sections → Map<String, List<String>>
Keep-a-Changelog subsections (### Added, ### Fixed, …) mapped to their bullets. Empty when the changelog has no subsections.
final
title → String?
Optional release title rendered next to the version.
final
version → String
Release version string, e.g. 1.2.0.
final
versionParts → List<int>
Parses version into comparable numeric segments; non-numeric segments (e.g. beta) compare as 0.
no setter

Methods

compareTo(ChangelogEntry other) → int
Three-way comparison against other: negative when this version is older, zero when equal, positive when newer.
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