GenerationUsage class

Constructors

GenerationUsage({double? inputTokens, double? outputTokens, double? totalTokens, double? inputCharacters, double? outputCharacters, double? inputImages, double? outputImages, double? inputVideos, double? outputVideos, double? inputAudioFiles, double? outputAudioFiles, Map<String, dynamic>? custom, double? thoughtsTokens, double? cachedContentTokens})
factory
GenerationUsage.fromJson(Map<String, dynamic> json)
factory

Properties

cachedContentTokens double?
getter/setter pair
custom Map<String, dynamic>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputAudioFiles double?
getter/setter pair
inputCharacters double?
getter/setter pair
inputImages double?
getter/setter pair
inputTokens double?
getter/setter pair
inputVideos double?
getter/setter pair
outputAudioFiles double?
getter/setter pair
outputCharacters double?
getter/setter pair
outputImages double?
getter/setter pair
outputTokens double?
getter/setter pair
outputVideos double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thoughtsTokens double?
getter/setter pair
totalTokens double?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Constants

$schema → const SchemanticType<GenerationUsage>