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