CommandLog constructor

CommandLog(
  1. String action,
  2. Command cmd, {
  3. bool isClient = false,
  4. CommandResult? result,
})

Implementation

CommandLog(this.action, Command cmd, {this.isClient = false, CommandResult<dynamic>? result})
    : super(cmd.toLog() + (result != null ? '\nRESULT:\n${result.toLog()}' : ''));