build

public abstract JsonObject build()

Builds the final JsonObject representing the dialog. Concrete subclasses override this to add type‑specific fields before returning the object.

Return

fully built JsonObject