init(promptLabel:usesIndexedCollation:sectionsBuilder:)
Create an ItemCollection containing Items, or one or more Sections provided by a builder.
Declaration
init(promptLabel: LocalizedStringResource? = nil, usesIndexedCollation: Bool = false, @IntentItemSection<Result>.Builder sectionsBuilder: () -> [IntentItemSection<Result>])