getByCategory method
Get all commands in a specific category.
Implementation
List<CommandRegistration> getByCategory(CommandCategory category) =>
_commands.where((r) => r.category == category).toList();
Get all commands in a specific category.
List<CommandRegistration> getByCategory(CommandCategory category) =>
_commands.where((r) => r.category == category).toList();