code: public KeyEvent withFlag(KeyEventFlag keyEventFlag) {
          if (this.flags == null) {
              this.flags = 0;
          }
          this.flags |= keyEventFlag.getValue();
          return this;
      }
docs: Adds the flag.
  
  @param keyEventFlag Native Android flag value. Several flags can
  be combined into a single key event.
  @return self instance for chaining