CommandExecuted constructor

CommandExecuted({
  1. required String command,
  2. required Context context,
  3. List<String>? arguments,
  4. String? description,
  5. bool isHook = false,
  6. String? error,
})

Implementation

CommandExecuted({
  required this.command,
  required this.context,
  List<String>? arguments,
  this.description,
  this.isHook = false,
  this.error,
}) : arguments = arguments ?? const [];