binary property

int get binary

Gets the binary representation of the indexes.

See EnumBinary.binary for getting the binary representation of a single enum value. See EnumByBinary.byBinary for converting the binary representation into enum values.

Implementation

int get binary => map((p) => p.binary).fold(0, (a, b) => a | b);