SearchIn class

Constructors

SearchIn({List<String> doctypes = const [], int? limit, String? project, String? query})
Returns a new SearchIn instance.

Properties

doctypes ↔ List<String>
DocTypes restricts retrieval to a subset of the indexed knowledge doctypes (kb-page, kb-memory, kb-source). An empty or foreign list reads all of them.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
limit ↔ int?
Limit bounds the hits returned. Default 10, maximum 50.
getter/setter pair
project ↔ String?
Project narrows retrieval to one project scope.
getter/setter pair
query ↔ String?
Query is the natural-language question. Required.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → SearchIn?
Returns a new SearchIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SearchIn>
mapFromJson(dynamic json) → Map<String, SearchIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SearchIn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.