TakeOfferRequest constructor

TakeOfferRequest({
  1. String? offerId,
  2. String? paymentAccountId,
  3. Int64? amount,
})

Implementation

factory TakeOfferRequest({
  $core.String? offerId,
  $core.String? paymentAccountId,
  $fixnum.Int64? amount,
}) {
  final $result = create();
  if (offerId != null) {
    $result.offerId = offerId;
  }
  if (paymentAccountId != null) {
    $result.paymentAccountId = paymentAccountId;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  return $result;
}