It's a good idea to plan for your check-out in advance of the end of your tenancy, so you can share the cleaning responsibilities. You and your flatmates are equally responsible for leaving the cupboards, fridge, and freezer empty and the kitchen clean.
If your flatmates have left without cleaning the kitchen it is your choice whether you do the cleaning yourself. Any charges will apply to all flatmates – yourself included – so we recommend putting in the effort to organise this ahead of everyone leaving.