Description constructor

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

Constructor for the Description class.

The constructor initializes a Description object with optional named parameters:

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

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

Implementation

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