isGroupSelectedAll method

bool isGroupSelectedAll(
  1. String groupName
)

Check if all options are selected in a group.

Implementation

bool isGroupSelectedAll(String groupName) {
  Set<String> target =
      _groups.keys.where((i) => _groups[i] == groupName).toSet();
  if (target.isEmpty) return false;
  return _constrainedSelected().toSet().containsAll(target);
}