fromJson static method
Loads a Keystore V3 wallet from JSON.
Implementation
static Future<Wallet> fromJson(String jsonStr, String password) async {
final json = jsonDecode(jsonStr) as Map<String, dynamic>;
final privateKey = crypto.KeystoreV3.decrypt(json, password);
return Wallet._(Web3PrivateKey(privateKey));
}