Hash constructor

Hash({
  1. HashType? hashType,
  2. List<int>? hash,
})

Implementation

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