ValueRecipient constructor

ValueRecipient({
  1. String? name,
  2. String? customKey,
  3. String? customValue,
  4. String? type,
  5. String? address,
  6. int? split,
  7. required bool fee,
})

Constructor for creating a ValueRecipient object.

The constructor initializes a ValueRecipient object with optional named parameters:

  • name: The name attribute value of the value recipient.
  • customKey: The customKey attribute value of the value recipient.
  • customValue: The customValue attribute value of the value recipient.
  • type: The type attribute value of the value recipient.
  • address: The address attribute value of the value recipient.
  • split: The split attribute value of the value recipient.
  • fee: The fee attribute value of the value recipient.

Implementation

ValueRecipient({
  this.name,
  this.customKey,
  this.customValue,
  this.type,
  this.address,
  this.split,
  required this.fee,
});