KeyCode constructor Null safety

KeyCode()