Crimes Act 1961, s 125
Indecent exposure includes when someone intentionally flashes or shows you their genitals without your consent.