If there were only one type of charge in the universe, then
Consider a region inside which there are various types of charges but the total charge is zero. At points outside the region,
Refer to the arrangement of charges in figure and a Gaussian surface of radius $R$ with $Q$ at the centre. Then,
A positive charge $Q$ is uniformly distributed along a circular ring of radius R.A small test charge $q$ is placed at the centre of the ring figure. Then,
An arbitrary surface encloses a dipole. What is the electric flux through this surface?
From Gauss' law, the electric flux through an enclosed surface is given by $\oint_s E . d S=\frac{q}{\varepsilon_0}$.
Here, $q$ is the net charge inside that enclosed surface.
Now, the net charge on a dipole is given by $-q+q=0$
$\therefore \quad$ Electric flux through a surface enclosing a dipole $=\frac{-q+q}{\varepsilon_0}=\frac{0}{\varepsilon_0}=0$