I figured out some more info. which adds additional insight.
Where is my /dev/dm-2 2 GB swap partition?
It's in my LUKS-encrypted partition. Although gparted and Gnome Disks both cannot show the LVM (Logical Volume Manager) volumes within LUKS partitions, blivet-gui, a 3rd partition manager program, can.
Use blivet-gui, instead of gparted or Gnome Disks, to see what is inside of LUKS-encrypted LVM volumes/partitions
Here's what it shows me:
As you can see, my nvme0n1
disk has 3 partitions, with the latter being a 1.82 TiB lvm
volume it calls vgubuntu
:

If I double-click on it, blivet-gui shows it contains two subvolumes, which it calls type lvmlv
. One of my logical volumes is my vgubuntu-root
1.82 TiB root filesystem, and the other is my vgubuntu-swap_1
1.91 GiB swap partition, which is apparently swapon --show
is showing as my /dev/dm-2
partition here:
$ swapon --show
NAME TYPE SIZE USED PRIO
/dev/dm-2 partition 1.9G 0B -2
So, although my answer isn't complete either, it at least adds a little more insight. Use the blivet-gui partition editor to see what is inside LUKS-encrypted LVM volumes.
To install blivet-gui
From my answer here: Unix & Linux: How to edit/resize an LVM partition graphically (with a GUI)?:
See blivet-gui's own installation instructions: https://software.opensuse.org/download.html?project=home:vtrefny&package=blivet-gui
Namely, for Ubuntu 22.04 and 20.04:
# For Ubuntu 22.04
echo 'deb http://download.opensuse.org/repositories/home:/vtrefny/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:vtrefny.list
curl -fsSL https://download.opensuse.org/repositories/home:vtrefny/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_vtrefny.gpg > /dev/null
sudo apt update
sudo apt install blivet-gui
# For Ubuntu 20.04
echo 'deb http://download.opensuse.org/repositories/home:/vtrefny/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:vtrefny.list
curl -fsSL https://download.opensuse.org/repositories/home:vtrefny/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_vtrefny.gpg > /dev/null
sudo apt update
sudo apt install blivet-gui
# etc.