initKeyboardEvent method

void initKeyboardEvent(
  1. String typeArg, [
  2. bool? bubblesArg = false,
  3. bool? cancelableArg = false,
  4. Window? viewArg,
  5. String? keyArg = '',
  6. int? locationArg = 0,
  7. bool? ctrlKey = false,
  8. bool? altKey = false,
  9. bool? shiftKey = false,
  10. bool? metaKey = false,
])

Implementation

void initKeyboardEvent(String typeArg,
        [bool? bubblesArg = false,
        bool? cancelableArg = false,
        Window? viewArg,
        String? keyArg = '',
        int? locationArg = 0,
        bool? ctrlKey = false,
        bool? altKey = false,
        bool? shiftKey = false,
        bool? metaKey = false]) =>
    js_util.callMethod(this, 'initKeyboardEvent', [
      typeArg,
      bubblesArg,
      cancelableArg,
      viewArg,
      keyArg,
      locationArg,
      ctrlKey,
      altKey,
      shiftKey,
      metaKey
    ]);