ItemOutput constructor
ItemOutput({
- String? id,
- Iterable<
DoubleParam> ? doubles, - Iterable<
LongParam> ? longs, - Iterable<
StringParam> ? strings, - Iterable<
StringKeyValue> ? mutableStrings, - Iterable<
Coin> ? transferFee, - String? tradePercentage,
- Int64? quantity,
- Int64? amountMinted,
- bool? tradeable,
Implementation
factory ItemOutput({
$core.String? id,
$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 (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;
}