checkPassword method
check password of account
Implementation
Future<bool> checkPassword(EthWalletData account, String pass) async {
try {
Wallet.fromJson(jsonEncode(account.toJson()), pass);
return true;
} catch (err) {
print(err.toString());
// ignore
}
return false;
}