TakeOfferReply constructor

TakeOfferReply({
  1. TradeInfo? trade,
  2. AvailabilityResultWithDescription? failureReason,
})

Implementation

factory TakeOfferReply({
  TradeInfo? trade,
  AvailabilityResultWithDescription? failureReason,
}) {
  final $result = create();
  if (trade != null) {
    $result.trade = trade;
  }
  if (failureReason != null) {
    $result.failureReason = failureReason;
  }
  return $result;
}