fromSections
Static factory method that reconstructs a PomBuilder from an array of
PomSectionData objects. Use this to restore a prompt serialized via
toJson() or
toDict().
Parameters
sections
Array of section data objects. Each must include at minimum a title, and
may include body, bullets, numbered, numberedBullets, and nested
subsections.
Returns
PomBuilder — a new builder populated with the given sections.