Title constructor

Title({
  1. String? type,
  2. String? value,
})

Constructor for creating a Title object.

The constructor initializes a Title object with optional named parameters:

  • type: The type attribute value of the title.
  • value: The value of the title.

Implementation

Title({
  this.type,
  this.value,
});