Please help me choose between iMac and Mac Mini

I just bought a M2 Pro Mac mini a month ago. I maxed out the CPU (12 cores), 32 GB and 1 TB. Pretty happy with this because I already have a 3 monitor displays and needed the Pro to drive it.

My use case is mainly for iOS development.

I will receive the Mac Mini on Monday.
This is the configuration I have chosen:
Apple M2 Pro with 10-core CPU, 16-core GPU, 16-core Neural Engine
16GB of unified memory
1TB SSD
10 Gigabit Ethernet

I will let you know my first impressions.