verify static method
verify the password with input password and stored hash string. Returns false when the hash is not a valid bcrypt hash.
Hash.verify('secret', '<hashedString>');
Implementation
static bool verify(String password, String hashedPassword) {
if (StrictMode.enabled) {
StrictMode.checkSyncHash('Hash.verify', 'Hash.verifyAsync');
}
return _verify(password, hashedPassword);
}