TxoStats constructor

TxoStats({
  1. Int64? spent,
  2. Int64? unspent,
  3. Int64? pending,
  4. Int64? total,
})

Implementation

factory TxoStats({
  $fixnum.Int64? spent,
  $fixnum.Int64? unspent,
  $fixnum.Int64? pending,
  $fixnum.Int64? total,
}) {
  final $result = create();
  if (spent != null) {
    $result.spent = spent;
  }
  if (unspent != null) {
    $result.unspent = unspent;
  }
  if (pending != null) {
    $result.pending = pending;
  }
  if (total != null) {
    $result.total = total;
  }
  return $result;
}