KeyMap constructor
KeyMap({
- List<
KeyBinding> ? shortHelp, - List<
List< ? fullHelp,KeyBinding> > - List<
({String id, KeyBinding key, KeyBinding prefix})> ? chords,
Creates a new key map.
Implementation
KeyMap({
List<KeyBinding>? shortHelp,
List<List<KeyBinding>>? fullHelp,
this.chords,
}) : shortHelp = shortHelp ?? [],
fullHelp = fullHelp ?? [];