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