TxObject constructor

TxObject({
  1. String? from,
  2. Iterable<Txs>? txs,
})

Implementation

factory TxObject({
  $core.String? from,
  $core.Iterable<Txs>? txs,
}) {
  final _result = create();
  if (from != null) {
    _result.from = from;
  }
  if (txs != null) {
    _result.txs.addAll(txs);
  }
  return _result;
}