@Override
    public String toString() {
        return "SymbolDependency{"
                + "dependencyType='" + dependencyType + '\''
                + ", packageName='" + packageName + '\''
                + ", version='" + version + '\''
                + '}';
    }
Gets the version string of the dependency.

@return Returns the version.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/SymbolDependency.java