commandsFor method

List<PluginCommandConfig> commandsFor(
  1. Device? device
)

Commands available for device after platform/running filtering.

Implementation

List<PluginCommandConfig> commandsFor(Device? device) =>
    commands.where((command) => command.matches(device)).toList();