GenerativeModel constructor

GenerativeModel({
  1. required String modelName,
  2. required String apiKey,
  3. GenerationConfig? generationConfig,
  4. List<SafetySetting>? safetySettings,
})

Implementation

GenerativeModel({
  required this.modelName,
  required this.apiKey,
  this.generationConfig,
  this.safetySettings,
});