DuckDuckGoSearchProvider class final
DuckDuckGo search via the keyless no-JS HTML frontend.
- Implemented types
Constructors
- DuckDuckGoSearchProvider()
-
Creates the provider.
const
Properties
- apiKeyName → String?
-
Secret name this provider needs (e.g.
BRAVE_API_KEY), or null when it is keyless (DuckDuckGo).no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Provider id used in config and error messages (e.g.
duckduckgo).no setteroverride - label → String
-
Human-readable name (e.g.
DuckDuckGo).no setteroverride - 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
-
search(
WebSearchRequest request) → Future< WebSearchResponse> -
Runs one search. Throws WebSearchException on failure so the chain
advances to the next provider.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited