toMask method

int toMask()

The combined optimizeFlags value understood by the native SDK.

Implementation

int toMask() => fold(0, (mask, flag) => mask | flag.bit);