Hash constructor

Hash({
  1. String? algo,
  2. String? value,
})

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,
});