operator + method

KeyBindings operator +(
  1. KeyBindings other
)

Combines this with another KeyBindings collection. Bindings from other are added after this collection's bindings.

Implementation

KeyBindings operator +(KeyBindings other) {
  return KeyBindings([..._bindings, ...other._bindings]);
}