Return a set of flags that has all the flags set in either this or other.
this
other
Flags<T> operator |(Flags<T> other) => Flags(value | other.value);