init(properties:id:)
Creates generated content representing a structure with the properties you specify.
Declaration
init(properties: KeyValuePairs<String, any ConvertibleToGeneratedContent>, id: GenerationID? = nil)Discussion
The order of properties is important. For Generable types, the order must match the order properties in the types schema.