A contractor hooked up our dishwasher this way (see image), but I believe it's wrong. The dishwasher's hot (black) and neutral (white) wires are the ones going into each wire nut from the left side. The power cord he used has two white wires, though, one of which is wider than the other. Those are going into each wire nut from the right side.
As you can see, he connected that wider white wire to the black hot wire. Isn't that wider one the neutral wire? If so, that would mean those two wires coming from the power cord should be switched! Sorry if this is a dumb question. I don't know much about electrical, but I'm suspicious about this.