Restriction constructor

Restriction({
  1. String? relationship,
  2. String? type,
  3. String? value,
})

Constructor for creating a Restriction object.

The constructor initializes a Restriction object with optional named parameters:

  • relationship: The relationship attribute value of the restriction.
  • type: The type attribute value of the restriction.
  • value: The value of the restriction.

Implementation

Restriction({
  this.relationship,
  this.type,
  this.value,
});