isEqual method

bool isEqual(
  1. Hash? other
)

Check if equal to another hash

Implementation

bool isEqual(Hash? other) {
  if (other == null) return false;
  for (int i = 0; i < hashSize; i++) {
    if (_bytes[i] != other._bytes[i]) return false;
  }
  return true;
}