AnthropicStreamClient constructor

AnthropicStreamClient({
  1. required String apiKey,
  2. String baseUrl = 'https://api.anthropic.com/v1',
  3. String version = '2023-06-01',
  4. Client? client,
})

Implementation

AnthropicStreamClient({
  required this.apiKey,
  this.baseUrl = 'https://api.anthropic.com/v1',
  this.version = '2023-06-01',
  http.Client? client,
}) : _client = client ?? http.Client();