WebSearchRequest class final

One search request passed down the provider chain.

Constructors

WebSearchRequest({required String query, required int count, required Client client, required Duration timeout, required Map<String, String> secrets})
Creates a request.
const

Properties

client → Client
HTTP client (injectable; MockClient in tests).
final
count → int
Result cap, already clamped via clampWebSearchCount.
final
hashCode → int
The hash code for this object.
no setterinherited
query → String
The query text (already site-filter-annotated by the tool).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secrets → Map<String, String>
Secrets available to keyed providers (name → value). Never logged.
final
timeout → Duration
Per-request timeout.
final

Methods

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

Operators

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