BalancesInfo constructor

BalancesInfo({
  1. BtcBalanceInfo? btc,
  2. XmrBalanceInfo? xmr,
})

Implementation

factory BalancesInfo({
  BtcBalanceInfo? btc,
  XmrBalanceInfo? xmr,
}) {
  final $result = create();
  if (btc != null) {
    $result.btc = btc;
  }
  if (xmr != null) {
    $result.xmr = xmr;
  }
  return $result;
}