DeveloperSerialization class final

Constructors

DeveloperSerialization()

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

countTokensRequest(Iterable<Content> contents, ({String name, String prefix}) model, List<SafetySetting> safetySettings, GenerationConfig? generationConfig, List<Tool>? tools, ToolConfig? toolConfig) → Map<String, Object?>
generateContentRequest(Iterable<Content> contents, ({String name, String prefix}) model, List<SafetySetting> safetySettings, GenerationConfig? generationConfig, List<Tool>? tools, ToolConfig? toolConfig, Content? systemInstruction) → Map<String, Object?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseCountTokensResponse(Object jsonObject) → CountTokensResponse
parseGenerateContentResponse(Object jsonObject) → GenerateContentResponse
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited