Txo constructor

Txo({
  1. UnspentTransactionOutput? transactionOutput,
  2. TxoState? state,
  3. TransactionOutputAddress? outputAddress,
})

Implementation

factory Txo({
  $18.UnspentTransactionOutput? transactionOutput,
  TxoState? state,
  $9.TransactionOutputAddress? outputAddress,
}) {
  final _result = create();
  if (transactionOutput != null) {
    _result.transactionOutput = transactionOutput;
  }
  if (state != null) {
    _result.state = state;
  }
  if (outputAddress != null) {
    _result.outputAddress = outputAddress;
  }
  return _result;
}