decrypt static method
Decrypt a JSON-style keystore back into a private key.
Implementation
static Uint8List decrypt(String jsonString, String password) {
Wallet wallet = Wallet.fromJson(jsonString, password);
var ethKey = wallet.privateKey;
return ethKey.privateKey;
}