KeyboardEventInit constructor

KeyboardEventInit({
  1. String? key,
  2. String? code,
  3. int? location,
  4. bool? repeat,
  5. bool? isComposing,
})

Implementation

factory KeyboardEventInit(
        {String? key,
        String? code,
        int? location,
        bool? repeat,
        bool? isComposing}) =>
    KeyboardEventInit._(
        key: key ?? '',
        code: code ?? '',
        location: location ?? 0,
        repeat: repeat ?? false,
        isComposing: isComposing ?? false);