printChangelog function
Converts the changelog
to a markdown string.
keepEmptyUnreleased
preserves the "Unreleased" section even when it's empty
Implementation
String printChangelog(Changelog changelog,
{bool keepEmptyUnreleased = false}) =>
render(_changelog(changelog, keepEmptyUnreleased: keepEmptyUnreleased),
flavor: flavors.changelog);