PublicKeyOrHash constructor

PublicKeyOrHash({
  1. List<int>? pubkey,
  2. List<int>? hash,
})

Implementation

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