OutPoint constructor

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

Implementation

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