dynamicallyCall(withKeywordArguments:)
Returns an instance of T by applying the provided argument values to the properties.
Declaration
func dynamicallyCall(withKeywordArguments args: KeyValuePairs<String, (any IntentValueExpressing)?>) -> TDiscussion
Typically, you use this subscript implicitly via function-call syntax, for example:
let intent = CreateCoffeeIntent.makeIntent(customerName: "MyName", size: 12.0)This is equivalent to the desugared syntax:
let intent = CreateCoffeeIntent.makeIntent.dynamicallyCall([
"customerName": "MyName",
"size": 12.0
])