setName method

CommandGroupBuilder setName(
  1. String name, {
  2. Translation? translation,
})

Implementation

CommandGroupBuilder setName(String name, {Translation? translation}) {
  this.name = name;
  if (translation != null) {
    _nameLocalizations = _helper.extractTranslations('name', translation);
  }

  return this;
}