Request class
Constructors
Properties
-
doctypes
↔ List<
String> -
DocTypes restricts the semantic leg to a subset of indexed knowledge types.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- index ↔ String?
-
Index names the lexical index to query. Defaults to "kb".
getter/setter pair
- limit ↔ int?
-
Limit bounds the FUSED result set (default 10, max 50).
getter/setter pair
- mode ↔ String?
-
Mode selects the legs: auto (default) | text | semantic | hybrid.
getter/setter pair
- offset ↔ int?
-
Offset pages the fused result set.
getter/setter pair
- project ↔ String?
-
Project narrows to one project scope within the org.
getter/setter pair
- query ↔ String?
-
Query is the natural-language or keyword query. 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) → Request? -
Returns a new Request instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Request> -
mapFromJson(
dynamic json) → Map< String, Request> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Request> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.