Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateContent(String text, {String modelId = 'gemini-flash-latest', List<SafetySetting>? safetySettings, GenerationConfig? generationConfig, List<Tool>? tools, ToolConfig? toolConfig})
→ Future<GenerateContentResponse>
-
-
generateContentFromPrompt(Iterable<Content> prompt, {String modelId = 'gemini-flash-latest', List<SafetySetting>? safetySettings, GenerationConfig? generationConfig, List<Tool>? tools, ToolConfig? toolConfig})
→ Future<GenerateContentResponse>
-
-
generateContentStream(Iterable<Content> prompt, {String modelId = 'gemini-flash-latest', List<SafetySetting>? safetySettings, GenerationConfig? generationConfig, List<Tool>? tools, ToolConfig? toolConfig})
→ Stream<GenerateContentResponse>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited