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