It depends on context. When someone raises a potential objection and then says "but whatever" they are being dismissive towards their own objection. This is also called "letting it go" or "moving on".