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