GenerativeModel constructor
GenerativeModel({
- required String modelName,
- required String apiKey,
- GenerationConfig? generationConfig,
- List<
SafetySetting> ? safetySettings,
Implementation
GenerativeModel({
required this.modelName,
required this.apiKey,
this.generationConfig,
this.safetySettings,
});