init(id:partData:)
Construct an instance of this object with the parts data passed in.
Declaration
init(id: AssignableDocument.ID, partData: [AssignableDocument.PartID : MergeablePartData]) async throwsParameters
- id:
The ID of this document.
- partData:
A dictionary of part IDs to Mergeablepartdata objects that contain the parts data.