OutPoint constructor

OutPoint({
  1. List<int>? txHash,
  2. Int64? outputIndex,
})

Implementation

factory OutPoint({
  $core.List<$core.int>? txHash,
  $fixnum.Int64? outputIndex,
}) {
  final _result = create();
  if (txHash != null) {
    _result.txHash = txHash;
  }
  if (outputIndex != null) {
    _result.outputIndex = outputIndex;
  }
  return _result;
}