Combines a Flags enum value with an int (result of | operator) and returns the combined int value. Used for setting flags on Note fields.
|
int combineFlags(int current, Flags flag) => current | flag.value;