KeyBindings constructor

const KeyBindings(
  1. List<KeyBinding> _bindings
)

Creates an immutable binding collection. Prefer using the provided factories (KeyBindings.prompt(), etc.) instead of building the list manually.

Implementation

const KeyBindings(this._bindings);