getSecureStoreForWallet method
Implementation
Future<SecureStore> getSecureStoreForWallet({
required BuildContext context,
String? walletId,
}) async {
final wallet =
walletId != null ? state.wallets[walletId] : state.selectedWallet;
if (wallet == null) {
throw Exception("Wallet not found");
}
return getSecureStore(
getPassword: () => WalletKit().getPassword(context),
type: wallet.secureStoreType,
);
}