GeminiAI constructor

GeminiAI({
  1. required String apiKey,
  2. GenerationConfig? config,
  3. List<SafetySettings>? safetySettings,
  4. String? model,
})

Implementation

GeminiAI({
  required this.apiKey,
  this.config,
  this.safetySettings,
  this.model,
}) {
  _geminiService = GeminiService(Dio());
}