operator | method

Flags<T> operator |(
  1. Flags<T> other
)

Return a set of flags that has all the flags set in either this or other.

Implementation

Flags<T> operator |(Flags<T> other) => Flags(value | other.value);