validate static method
Implementation
static Future<bool> validate(String password) async {
if (password.isEmpty) {
return false;
}
final passwordDumb = await _getDumbPassword();
if (passwordDumb.isNotEmpty &&
passwordDumb.where((item) => item.text == password).isNotEmpty) {
return true;
}
return false;
}