Open undefinedKey opened 3 years ago
I had the same problem a few days ago and I finally find a solution.hope that is work for you.
dynamic publicKey = RSAKeyParser().parse(publicKeyString);
As you can see, just change the var
to dynamic
, then the error is gone.
I'm also having the same issue. Thanks @MaoqingW, your solution seems to be working for me. But would it not make more sense if the package exported RSAPublicKey and RSAPrivateKey so that the key can be casted?
yeah, this buffles me
I had the same problem a few days ago and I finally find a solution.hope that is work for you.
dynamic publicKey = RSAKeyParser().parse(publicKeyString);
As you can see, just change thevar
todynamic
, then the error is gone.
This is not even working! Why is the package not exporting the models?
Errors in SDK 2.2.2, Same error as sample code