The ionic character in a molecule is dependent upon the electronegativity difference between the constituting atoms. The greater the difference, the greater will be the ionic character of the molecule.
N2<SO2<ClF3<K2O<LiF
The Ionic character depends upon the difference in electronegativity (bond polarity).
N2 is a covalent molecule & the difference in electrongegativities are:
|XS – X0| = 1.0
|XCl – XF| =1.0
|XK – X0| =2.6
|XLi – XF| =3.5