checkPassword method

Future<bool> checkPassword(
  1. Map keyring,
  2. String? pubKey,
  3. dynamic pass
)

Implementation

Future<bool> checkPassword(Map keyring, String? pubKey, pass) async {
  final String pairs = jsonEncode(keyring);
  final res = await _runner
      ?.evalJavascript('bridge.checkPassword($pairs,"$pubKey", "$pass")');
  if (res == null) {
    return false;
  }
  return true;
}