logCommand method

void logCommand(
  1. String command,
  2. String argument
)

Implementation

void logCommand(String command, String argument) {
  if (logFunction != null) {
    logFunction!('Command: $command, Argument: $argument');
  }
}