Chances are the demand of the space heater caused a connection failure at any one of the outlets. Even one where the heater or extension cord is not or was not plugged in. (You should never use an extension cord with a space heater.) Most outlets are wired from outlet to outlet to outlet. The type of connections used are known as an IDC or Insulation Displacement Connection. This merely penetrates the insulation on the wire allowing contact to the copper conductor. These are NOT GOOD for high current or high wattage items.
You will need to unplug from shore power. Then open or pull each outlet from the wall and carefully inspect the points where the wires are attached to the outlet. Look for loose and/or charred connections. It may require replacing the outlet if there is any evidence of heating.
Personally, I have replaced all of the outlets in our trailer with good quality residential outlets that use screw terminals to make connections. The IDC types and stab connection types are crap! (IMO)
Bob