selectedCommand property

NmPaletteCommand? get selectedCommand

Selected command.

Implementation

NmPaletteCommand? get selectedCommand => selectedIndex < filteredCommands.length ? filteredCommands[selectedIndex] : null;