selectedWallet property

Wallet? get selectedWallet

Implementation

Wallet? get selectedWallet {
  if (selected == null) {
    return null;
  }
  final wallet = wallets[selected?.walletId];
  if (wallet == null) {
    throw Exception("Wallet not found");
  }
  return wallet;
}