BtcBalanceInfo constructor

BtcBalanceInfo({
  1. Int64? availableBalance,
  2. Int64? reservedBalance,
  3. Int64? totalAvailableBalance,
  4. Int64? lockedBalance,
})

Implementation

factory BtcBalanceInfo({
  $fixnum.Int64? availableBalance,
  $fixnum.Int64? reservedBalance,
  $fixnum.Int64? totalAvailableBalance,
  $fixnum.Int64? lockedBalance,
}) {
  final $result = create();
  if (availableBalance != null) {
    $result.availableBalance = availableBalance;
  }
  if (reservedBalance != null) {
    $result.reservedBalance = reservedBalance;
  }
  if (totalAvailableBalance != null) {
    $result.totalAvailableBalance = totalAvailableBalance;
  }
  if (lockedBalance != null) {
    $result.lockedBalance = lockedBalance;
  }
  return $result;
}