AFAIK, blue flag beaches have to have public toilets. Dollymount does, Portmarnock probably does too.
But they're often some distance from where you choose to base yourself on the beach. And they may be pay-per-use charge too.
And tides in Dublin, this week, are early morning / late evening, so getting to the water is also going to be some distance from where you choose to base yourself !