checkPassword method
check password of account
Implementation
Future<bool> checkPassword(String? pubKey, pass) async {
final res = await serviceRoot.webView!
.evalJavascript('keyring.checkPassword("$pubKey", "$pass")');
if (res == null) {
return false;
}
return true;
}