code property
final
The KeyboardEvent.code
corresponding to this event.
The code represents a physical key on the keyboard, a value that isn't altered by keyboard layout or the state of the modifier keys.
See developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code for more information.
Implementation
final String code;