titleWithGroup property

String titleWithGroup

Implementation

String get titleWithGroup {
  if (group == null) {
    return title;
  }

  List<String> titleList = [
    title,
  ];

  if (group!.expandedColumn != true) {
    titleList.add(group!.title);
  }

  for (final g in group!.parents.toList()) {
    titleList.add(g.title);
  }

  return titleList.reversed.join(' ');
}