I didn’t find any /etc/netplan file in Ubuntu 20.04. /etc/resolv.conf is a symlink pointing to …/run/systemd/resolve/stub-resolv.conf.
There is another file /run/systemd/resolve/resolv.conf that (probably) contains the actual name servers consulted by the resolver, but I don’t think there is any guarantee that this will always be the case.