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;
}