BoolCollection typedef

BoolCollection = List<Bool>

A list of boolean values using the Bool alias.

{@tool snippet}

BoolCollection flags = [true, false, true];
print(flags.where((f) => f).length); // 2

{@end-tool}

Implementation

typedef BoolCollection = List<Bool>;