SolCoin.fromPrivateKey constructor
SolCoin.fromPrivateKey(
- dynamic privateKey, [
- WalletSetting? setting
Implementation
factory SolCoin.fromPrivateKey(dynamic privateKey, [WalletSetting? setting]) {
final wallet = SolCoin(setting: setting);
wallet.initFromPrivateKey(dynamicToUint8List(privateKey));
return wallet;
}