XmrBalanceInfo constructor

XmrBalanceInfo({
  1. Int64? balance,
  2. Int64? availableBalance,
  3. Int64? pendingBalance,
  4. Int64? reservedOfferBalance,
  5. Int64? reservedTradeBalance,
})

Implementation

factory XmrBalanceInfo({
  $fixnum.Int64? balance,
  $fixnum.Int64? availableBalance,
  $fixnum.Int64? pendingBalance,
  $fixnum.Int64? reservedOfferBalance,
  $fixnum.Int64? reservedTradeBalance,
}) {
  final $result = create();
  if (balance != null) {
    $result.balance = balance;
  }
  if (availableBalance != null) {
    $result.availableBalance = availableBalance;
  }
  if (pendingBalance != null) {
    $result.pendingBalance = pendingBalance;
  }
  if (reservedOfferBalance != null) {
    $result.reservedOfferBalance = reservedOfferBalance;
  }
  if (reservedTradeBalance != null) {
    $result.reservedTradeBalance = reservedTradeBalance;
  }
  return $result;
}