Contents

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 throws

Parameters

  • id:

    The ID of this document.

  • partData:

    A dictionary of part IDs to Mergeablepartdata objects that contain the parts data.

See Also

Creating an assignable document