changelogLine property
String
get
changelogLine
The changelog line, such as - Feat: Add dpk exec.
Implementation
String get changelogLine {
final label = '${type[0].toUpperCase()}${type.substring(1)}';
final text = description[0].toUpperCase() + description.substring(1);
return '- ${breaking ? '[BREAKING] ' : ''}$label: $text';
}