getDBCommandByID method

DBCommand? getDBCommandByID(
  1. String id
)

Returns the DBCommand with id from dbCommands.

Implementation

DBCommand? getDBCommandByID(String id) =>
    dbCommands.firstWhereOrNull((cmd) => cmd.id == id);