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