The Australian Constitution makes no mention of political parties, the Cabinet or of the position of Prime Minister.
All these are conventions by which our system operates in practice.
A convention is not a law, merely an accepted way of doing something.