Hash constructor
Constructor for the Hash class.
The constructor initializes a Hash object with optional named parameters:
algo
: Algorithm attribute value of the hash.value
: Value of the hash.
Implementation
Hash({
this.algo,
this.value,
});