Restriction constructor
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,
});