Category constructor

Category({
  1. String? scheme,
  2. String? label,
  3. String? value,
})

Constructor for the Category class.

The constructor initializes a Category object with optional named parameters:

  • scheme: The scheme attribute of the category element.
  • label: The label attribute of the category element.
  • value: The inner text of the category element.

All parameters are optional and can be set to null if not provided.

Implementation

Category({
  this.scheme,
  this.label,
  this.value,
});