KnowledgeSearchResponse constructor
KnowledgeSearchResponse({
- required List<
SearchResult> matches, - required List<
KnowledgeContextHit> context, - required List<
String> notices,
Implementation
KnowledgeSearchResponse({
required List<SearchResult> matches,
required List<KnowledgeContextHit> context,
required List<String> notices,
}) : matches = List.unmodifiable(matches),
context = List.unmodifiable(context),
notices = List.unmodifiable(notices);