CommandRegistration constructor

CommandRegistration({
  1. required Command command,
  2. required CommandCategory category,
  3. List<String> extraAliases = const [],
  4. bool hidden = false,
  5. bool requiresAuth = false,
  6. bool requiresGit = false,
  7. int executionCount = 0,
  8. DateTime? lastExecutedAt,
})

Implementation

CommandRegistration({
  required this.command,
  required this.category,
  this.extraAliases = const [],
  this.hidden = false,
  this.requiresAuth = false,
  this.requiresGit = false,
  this.executionCount = 0,
  this.lastExecutedAt,
});