You don’t quite understand.
If I was an established top level cricketer, I’d play Test cricket and probably also T20 leagues for the money.
I’d only play domestic and international 20 and 50 over cricket until I’d convinced IPL teams to sign me. Then I’d stop.
I might re-emerge for World Cups only. Remember, Trent Boult didn’t play ODI cricket until the 2015 World Cup.
But I wouldn’t play any bilateral white ball international cricket: the money is paltry and I’d rather extend my career by limiting myself to Tests and IPL. (I’m not Pakistani!

)
So if I was Ben Stokes, I’d play IPL and red ball cricket only.
If I was Mitchell Starc, again, I’d play IPL and red ball cricket only.