Event_SeriesPolicy constructor

Event_SeriesPolicy({
  1. String? label,
  2. UInt32Value? tokenSupply,
  3. TransactionOutputAddress? registrationUtxo,
  4. QuantityDescriptorType? quantityDescriptor,
  5. FungibilityType? fungibility,
  6. Struct? ephemeralMetadataScheme,
  7. Struct? permanentMetadataScheme,
})

Implementation

factory Event_SeriesPolicy({
  $core.String? label,
  $13.UInt32Value? tokenSupply,
  $12.TransactionOutputAddress? registrationUtxo,
  $15.QuantityDescriptorType? quantityDescriptor,
  $15.FungibilityType? fungibility,
  $14.Struct? ephemeralMetadataScheme,
  $14.Struct? permanentMetadataScheme,
}) {
  final $result = create();
  if (label != null) {
    $result.label = label;
  }
  if (tokenSupply != null) {
    $result.tokenSupply = tokenSupply;
  }
  if (registrationUtxo != null) {
    $result.registrationUtxo = registrationUtxo;
  }
  if (quantityDescriptor != null) {
    $result.quantityDescriptor = quantityDescriptor;
  }
  if (fungibility != null) {
    $result.fungibility = fungibility;
  }
  if (ephemeralMetadataScheme != null) {
    $result.ephemeralMetadataScheme = ephemeralMetadataScheme;
  }
  if (permanentMetadataScheme != null) {
    $result.permanentMetadataScheme = permanentMetadataScheme;
  }
  return $result;
}