SignOfferRequest constructor
SignOfferRequest({
- String? offerId,
- NodeAddress? senderNodeAddress,
- PubKeyRing? pubKeyRing,
- String? senderAccountId,
- OfferPayload? offerPayload,
- String? uid,
- Int64? currentDate,
- String? reserveTxHash,
- String? reserveTxHex,
- String? reserveTxKey,
- Iterable<
String> ? reserveTxKeyImages, - String? payoutAddress,
Implementation
factory SignOfferRequest({
$core.String? offerId,
NodeAddress? senderNodeAddress,
PubKeyRing? pubKeyRing,
$core.String? senderAccountId,
OfferPayload? offerPayload,
$core.String? uid,
$fixnum.Int64? currentDate,
$core.String? reserveTxHash,
$core.String? reserveTxHex,
$core.String? reserveTxKey,
$core.Iterable<$core.String>? reserveTxKeyImages,
$core.String? payoutAddress,
}) {
final $result = create();
if (offerId != null) {
$result.offerId = offerId;
}
if (senderNodeAddress != null) {
$result.senderNodeAddress = senderNodeAddress;
}
if (pubKeyRing != null) {
$result.pubKeyRing = pubKeyRing;
}
if (senderAccountId != null) {
$result.senderAccountId = senderAccountId;
}
if (offerPayload != null) {
$result.offerPayload = offerPayload;
}
if (uid != null) {
$result.uid = uid;
}
if (currentDate != null) {
$result.currentDate = currentDate;
}
if (reserveTxHash != null) {
$result.reserveTxHash = reserveTxHash;
}
if (reserveTxHex != null) {
$result.reserveTxHex = reserveTxHex;
}
if (reserveTxKey != null) {
$result.reserveTxKey = reserveTxKey;
}
if (reserveTxKeyImages != null) {
$result.reserveTxKeyImages.addAll(reserveTxKeyImages);
}
if (payoutAddress != null) {
$result.payoutAddress = payoutAddress;
}
return $result;
}