AlgoCoin.fromPrivateKey constructor

AlgoCoin.fromPrivateKey(
  1. dynamic privateKey, [
  2. WalletSetting? setting
])

Implementation

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