ItemModifyOutput constructor

ItemModifyOutput({
  1. String? id,
  2. String? itemInputRef,
  3. Iterable<DoubleParam>? doubles,
  4. Iterable<LongParam>? longs,
  5. Iterable<StringParam>? strings,
  6. Iterable<StringKeyValue>? mutableStrings,
  7. Iterable<Coin>? transferFee,
  8. String? tradePercentage,
  9. Int64? quantity,
  10. Int64? amountMinted,
  11. bool? tradeable,
})

Implementation

factory ItemModifyOutput({
  $core.String? id,
  $core.String? itemInputRef,
  $core.Iterable<DoubleParam>? doubles,
  $core.Iterable<LongParam>? longs,
  $core.Iterable<StringParam>? strings,
  $core.Iterable<$3.StringKeyValue>? mutableStrings,
  $core.Iterable<$2.Coin>? transferFee,
  $core.String? tradePercentage,
  $fixnum.Int64? quantity,
  $fixnum.Int64? amountMinted,
  $core.bool? tradeable,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (itemInputRef != null) {
    _result.itemInputRef = itemInputRef;
  }
  if (doubles != null) {
    _result.doubles.addAll(doubles);
  }
  if (longs != null) {
    _result.longs.addAll(longs);
  }
  if (strings != null) {
    _result.strings.addAll(strings);
  }
  if (mutableStrings != null) {
    _result.mutableStrings.addAll(mutableStrings);
  }
  if (transferFee != null) {
    _result.transferFee.addAll(transferFee);
  }
  if (tradePercentage != null) {
    _result.tradePercentage = tradePercentage;
  }
  if (quantity != null) {
    _result.quantity = quantity;
  }
  if (amountMinted != null) {
    _result.amountMinted = amountMinted;
  }
  if (tradeable != null) {
    _result.tradeable = tradeable;
  }
  return _result;
}