TradeStatistics3 constructor
TradeStatistics3({})
Implementation
factory TradeStatistics3({
$core.String? currency,
$fixnum.Int64? price,
$fixnum.Int64? amount,
$core.String? paymentMethod,
$fixnum.Int64? date,
$core.String? arbitrator,
$core.List<$core.int>? hash,
$core.String? makerDepositTxId,
$core.String? takerDepositTxId,
$core.Map<$core.String, $core.String>? extraData,
}) {
final $result = create();
if (currency != null) {
$result.currency = currency;
}
if (price != null) {
$result.price = price;
}
if (amount != null) {
$result.amount = amount;
}
if (paymentMethod != null) {
$result.paymentMethod = paymentMethod;
}
if (date != null) {
$result.date = date;
}
if (arbitrator != null) {
$result.arbitrator = arbitrator;
}
if (hash != null) {
$result.hash = hash;
}
if (makerDepositTxId != null) {
$result.makerDepositTxId = makerDepositTxId;
}
if (takerDepositTxId != null) {
$result.takerDepositTxId = takerDepositTxId;
}
if (extraData != null) {
$result.extraData.addAll(extraData);
}
return $result;
}