OutPoint constructor

OutPoint({
  1. List<int>? hash,
  2. int? index,
  3. int? sequence,
  4. int? tree,
})

Implementation

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