Why not just say I made/had a poptart? Why do you need to get that descriptive about it, its junkfood that you just eat or pop in the toaster, hence the name. Is like a tart you pop in the toaster
Worst case, use according but I don't get why you'd ever need to say that. Nobody who speaks English would really ever say that, that sounds like a textbook exercise lol