BoolSet typedef

BoolSet = Set<Bool>

A set of unique boolean values using the Bool alias.

{@tool snippet}

BoolSet truthValues = {true, false};
print(truthValues.length); // 2

{@end-tool}

Implementation

typedef BoolSet = Set<Bool>;