Value constructor

Value({
  1. String? type,
  2. String? method,
  3. String? suggested,
  4. required List<ValueRecipient> valueRecipients,
})

Constructor for creating a Value object.

The constructor initializes a Value object with optional named parameters:

  • type: The type attribute value of the value.
  • method: The method attribute value of the value.
  • suggested: The suggested attribute value of the value.
  • valueRecipients: The list of value recipients associated with this value.

Implementation

Value({
  this.type,
  this.method,
  this.suggested,
  required this.valueRecipients,
});