selectedAccount property

Account? get selectedAccount

Implementation

Account? get selectedAccount {
  if (selected == null) {
    return null;
  }
  final account = selectedWallet!.accounts[selected?.accountId];
  if (account == null) {
    throw Exception("Account not found");
  }
  return account;
}