verify static method
Verify if the given password matches the given hash. Password must be a plain UTF-8 compatible String Hash must be provided in Modular Crypt Format. Eg. $2y$06$doGnefu9cbLkJTn8sef7U.dynHJFe5hS6xp7vLWb2Zu7e8cOuMVmS This includes the version, complexity and 16 bytes of salt.
Implementation
static Future<bool> verify(
{required String password, required String hash}) async =>
await (_channel
.invokeMethod('verify', {'password': password, 'hash': hash}));