KeyboardEvent(String type, bool bubbles, int keyCode, KeyLocation keyLocation, bool altKey, bool ctrlKey, bool shiftKey)

Creates a new KeyboardEvent.

Source

KeyboardEvent(String type, bool bubbles,
    this.keyCode, this.keyLocation,
    this.altKey, this.ctrlKey, this.shiftKey): super(type, bubbles);