Constructor for creating a Tags object.
The constructor initializes a Tags object with optional named parameters:
Tags({ this.tags, this.weight, });