SendKeyEventsParameters constructor

SendKeyEventsParameters({
  1. required int contextId,
  2. required List<KeyboardEvent> keyData,
})

Implementation

SendKeyEventsParameters({
  /// ID of the context where the key events will be sent, or zero to send key
  /// events to non-input field.
  required int contextId,

  /// Data on the key event.
  required List<KeyboardEvent> keyData,
}) : _wrapped = $js.SendKeyEventsParameters(
        contextID: contextId,
        keyData: keyData.toJSArray((e) => e.toJS),
      );