ContractInfo constructor
ContractInfo({
- String? buyerNodeAddress,
- String? sellerNodeAddress,
- String? arbitratorNodeAddress,
- bool? isBuyerMakerAndSellerTaker,
- String? makerAccountId,
- String? takerAccountId,
- PaymentAccountPayload? makerPaymentAccountPayload,
- PaymentAccountPayload? takerPaymentAccountPayload,
- String? makerPayoutAddressString,
- String? takerPayoutAddressString,
- Int64? lockTime,
Implementation
factory ContractInfo({
$core.String? buyerNodeAddress,
$core.String? sellerNodeAddress,
$core.String? arbitratorNodeAddress,
$core.bool? isBuyerMakerAndSellerTaker,
$core.String? makerAccountId,
$core.String? takerAccountId,
$1.PaymentAccountPayload? makerPaymentAccountPayload,
$1.PaymentAccountPayload? takerPaymentAccountPayload,
$core.String? makerPayoutAddressString,
$core.String? takerPayoutAddressString,
$fixnum.Int64? lockTime,
}) {
final $result = create();
if (buyerNodeAddress != null) {
$result.buyerNodeAddress = buyerNodeAddress;
}
if (sellerNodeAddress != null) {
$result.sellerNodeAddress = sellerNodeAddress;
}
if (arbitratorNodeAddress != null) {
$result.arbitratorNodeAddress = arbitratorNodeAddress;
}
if (isBuyerMakerAndSellerTaker != null) {
$result.isBuyerMakerAndSellerTaker = isBuyerMakerAndSellerTaker;
}
if (makerAccountId != null) {
$result.makerAccountId = makerAccountId;
}
if (takerAccountId != null) {
$result.takerAccountId = takerAccountId;
}
if (makerPaymentAccountPayload != null) {
$result.makerPaymentAccountPayload = makerPaymentAccountPayload;
}
if (takerPaymentAccountPayload != null) {
$result.takerPaymentAccountPayload = takerPaymentAccountPayload;
}
if (makerPayoutAddressString != null) {
$result.makerPayoutAddressString = makerPayoutAddressString;
}
if (takerPayoutAddressString != null) {
$result.takerPayoutAddressString = takerPayoutAddressString;
}
if (lockTime != null) {
$result.lockTime = lockTime;
}
return $result;
}