Wallet.convert constructor
Wallet.convert(
- Wallet wallet,
- NetworkInfo networkInfo
Creates a new Wallet instance based on the existent wallet
for
the given networkInfo
.
Implementation
factory Wallet.convert(
Wallet wallet,
NetworkInfo networkInfo,
) {
return Wallet(
networkInfo: networkInfo,
address: wallet.address,
privateKey: wallet.privateKey,
publicKey: wallet.publicKey,
);
}