ChangelogEntry class
Published release note entry in the application changelog.
Displayed in WhatsNewScreen and ChangelogOverlay. Supports markdown formatting and linked feature requests.
Example
final entries = await client.fetchChangelog();
for (final entry in entries) {
print('${entry.title} (${entry.versionLabel ?? "latest"})');
print(entry.body);
}
Constructors
-
ChangelogEntry({required String id, required String title, required String body, String? versionLabel, required String publishedAt, List<
ChangelogLinkedRequest> linkedRequests = const []}) -
Creates a ChangelogEntry release note item.
const
-
ChangelogEntry.fromJson(Map<
String, dynamic> json) -
Deserializes ChangelogEntry from a JSON map.
factory
Properties
- body → String
-
Markdown-formatted body describing highlights, improvements, and fixes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique database ID of the changelog entry.
final
-
linkedRequests
→ List<
ChangelogLinkedRequest> -
Feature requests shipped with this release note.
final
- publishedAt → String
-
ISO 8601 published date string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Headline title of the release note.
final
- versionLabel → String?
-
Target release version string (e.g.
'2.1.0'), if tagged.final
Methods
-
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