invoke
operator fun invoke(question: FieldDefinition.Hierarchy, response: HierarchyNode<String>): PreChatSurveyResponse.Hierarchy
Creates instance of Hierarchy survey response.
Parameters
question
FieldDefinition.Hierarchy survey question which is being answered.
response
User selected leaf HierarchyNode as a response to the survey.