add method

Add a state to the current set of states.

Implementation

KeyEventState add(KeyEventState state) {
  return KeyEventState(_value | state.value);
}