fromRust static method
Implementation
static Future<MobileWalletUnlocked> fromRust(
fuels.WalletUnlocked rustWalletUnlocked, String networkUrl) async {
final bech32Address = await rustWalletUnlocked.address.toBech32String();
final b256Address = await rustWalletUnlocked.address.toB256String();
return MobileWalletUnlocked(
rustWalletUnlocked: rustWalletUnlocked,
networkUrl: networkUrl,
b256Address: addHexPrefix(b256Address),
bech32Address: bech32Address);
}