shortcutBindingsFromChords function
Map chord bindings into ShortcutBindings.
Implementation
List<ShortcutBinding> shortcutBindingsFromChords(
Iterable<KeyChordBinding> chords,
) {
return [for (final c in chords) ShortcutBinding.fromChord(c)];
}
Map chord bindings into ShortcutBindings.
List<ShortcutBinding> shortcutBindingsFromChords(
Iterable<KeyChordBinding> chords,
) {
return [for (final c in chords) ShortcutBinding.fromChord(c)];
}