Creates a DirObject with the given classString.
DirObject(this.classString, {this.identifier, this.links, this.values});