“Pudding” is what the British say for “dessert,” thus, spotted dick is a pudding to them.
Spotted Dick is also used as a tea time cake and it's delicious! And at tea, it is NOT a "dessert". Certainly NOT at the Savoy, Browns, Harrods nor at any other very nice place to have tea/high tea/ a cream tea. :-)