WebSearchProvider class abstract interface

A search backend the web_search tool can walk in its fallback chain.

Implementers

Properties

apiKeyName → String?
Secret name this provider needs (e.g. BRAVE_API_KEY), or null when it is keyless (DuckDuckGo).
no setter
endpoint → Uri
The endpoint this provider sends searches to — the host the network gate (issue #682) checks before any request leaves.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
Provider id used in config and error messages (e.g. duckduckgo).
no setter
label → String
Human-readable name (e.g. DuckDuckGo).
no setter
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
Runs one search. Throws WebSearchException on failure so the chain advances to the next provider.
toString() → String
A string representation of this object.
inherited

Operators

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