pluginsForDevice method

  1. @override
List<PluginConfig> pluginsForDevice(
  1. Device? device
)
override

Plugins that expose at least one command runnable for device.

Implementation

@override
List<PluginConfig> pluginsForDevice(Device? device) =>
    _plugins.where((plugin) => plugin.hasCommandsFor(device)).toList();