However, door dash does not follow this simple model. What happens is that door dash calculates how much an order is worth, if the customer tips then it deducts the tip from the order. If your order is worth $10 and the customer tips $5 the tip will always be deducted entirely. You get paid $5 for the order and $5 for the tip. Even if you somehow manage to complete 400 orders and all of them are tipped $5 you won't get a single cent from tips even though the tips alone are enough to pay minimum wage + some. The only scenario in which you can earn money from a tip is if the tip exceeds the order's value. Someone tips $50 on a $10 order. You get $0 for the order and $50 for the tip.
When you consider that in the restaurant arrangement it's actually intended for waiters to be primarily paid by tips (at least that's how I heard it works in the US??) they'll likely exceed minimum wage and only get the minimum wage during bad months.
With door dash you're the one who's being paid for every order you complete, not the cook + rest of the restaurant. Therefore getting a tip at all actually requires a heroic effort because people are not going to tip more than the order is worth. The tips might as well not exist at all and are a pure cash grab.
The reason I'm bringing up Door Dash is that it's an example of a truly evil company vs restaurants where it's just a very unusual but fair payment arrangement.