newFromMnemonicPhrase static method
Imports the wallet from the provided mnemonic phrase
Implementation
static Future<FuelWallet> newFromMnemonicPhrase({
required String networkUrl,
required String mnemonic,
}) async {
validateMnemonicPhrase(mnemonic);
final walletUnlocked = await _wallet.newFromMnemonic(
networkUrl: networkUrl,
mnemonic: mnemonic,
);
return FuelWallet(walletUnlocked);
}