Tags constructor

Tags({
  1. String? tags,
  2. int? weight,
})

Constructor for creating a Tags object.

The constructor initializes a Tags object with optional named parameters:

  • tags: The tags of the element.
  • weight: The weight attribute value of the tags.

Implementation

Tags({
  this.tags,
  this.weight,
});