ReleaseNotes.fromJson constructor
Parses release notes from a simple { "data": [...] } object or the rich
canonical sections shape.
Implementation
factory ReleaseNotes.fromJson(Map<String, dynamic> json) {
if (json.containsKey("data")) {
return _fromSimpleData(json);
}
return _fromRichSections(json);
}