getGroupsWhereSelected method

Set<String> getGroupsWhereSelected()

Return groupName(s) where there is at least one option on that group that selected. Based on isGroupSelected.

Implementation

Set<String> getGroupsWhereSelected() {
  Set<String> distinctGroupName = Set.from(_groups.values);
  return distinctGroupName.where((gn) => isGroupSelected(gn)).toSet();
}