MsgCreateTrade constructor
MsgCreateTrade({})
Implementation
factory MsgCreateTrade({
$core.String? creator,
$core.Iterable<$4.CoinInput>? coinInputs,
$core.Iterable<$4.ItemInput>? itemInputs,
$core.Iterable<$2.Coin>? coinOutputs,
$core.Iterable<$8.ItemRef>? itemOutputs,
$core.String? extraInfo,
}) {
final _result = create();
if (creator != null) {
_result.creator = creator;
}
if (coinInputs != null) {
_result.coinInputs.addAll(coinInputs);
}
if (itemInputs != null) {
_result.itemInputs.addAll(itemInputs);
}
if (coinOutputs != null) {
_result.coinOutputs.addAll(coinOutputs);
}
if (itemOutputs != null) {
_result.itemOutputs.addAll(itemOutputs);
}
if (extraInfo != null) {
_result.extraInfo = extraInfo;
}
return _result;
}