BraveProvider
Category: Web
Source: brave_provider.dart
Classes
BraveSearchProvider
Constructor
dart
BraveSearchProvider({
required this.apiKey,
this.timeoutSeconds = 15,
http.Client? client,
})Properties
| Property | Type | Description |
|---|---|---|
apiKey | String? | |
timeoutSeconds | int | |
name | String get | |
isConfigured | bool get | |
name | String get | |
isConfigured | bool get |
Methods
Future<WebSearchResponse> search(String query, {int maxResults = 5})
`static WebSearchResponse parseResponse(
Map<String, dynamic> json,
String query,
)`
HttpException
Constructor
dart
HttpException(this.message)Properties
| Property | Type | Description |
|---|---|---|
message | String |