allSubsetsEqual static method
Determines if every alternative subset in altsets
is equivalent.
@param altsets a collection of alternative subsets
@return true
if every member of altsets
is equal to the
others, otherwise false
Implementation
static bool allSubsetsEqual(List<BitSet> altsets) {
final first = altsets.first;
return altsets.every((e) => e == first);
}