findCommands method

List<NativeCommand> findCommands(
  1. String service,
  2. String command
)

Find commands by service and command name.

Implementation

List<NativeCommand> findCommands(String service, String command) {
  return sentCommands
      .where((c) => c.service == service && c.command == command)
      .toList();
}