OutPoint constructor

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

Implementation

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