ReleaseNotes class

Parsed release notes from a hosted JSON object.

Constructors

ReleaseNotes({required List<ReleaseNotesSection> sections, List<ReleaseNotesEntry>? entries, String? summary, String? locale})
Creates a release notes container.
const
ReleaseNotes.fromJson(Map<String, dynamic> json)
Parses release notes from a simple { "data": [...] } object or the rich canonical sections shape.
factory

Properties

entries → List<ReleaseNotesEntry>
All parsed entries in source order.
no setter
hashCode → int
The hash code for this object.
no setterinherited
locale → String?
Optional locale identifier for the hosted notes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sections → List<ReleaseNotesSection>
Rich release notes sections.
final
summary → String?
Optional top-level summary text.
final

Methods

grouped() → Map<String, List<ReleaseNotesEntry>>
Groups entries by type, preserving source order within each group.
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

Static Methods

normalizeType(String? value) → ReleaseNotesSectionType
Normalizes simple and rich type strings into section types.