LLMUsageOutput class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

LLMUsageOutput({Map<String, dynamic>? modelUsage})
const
LLMUsageOutput.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
modelUsage Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Map<String, dynamic>? modelUsage}) LLMUsageOutput

Available on LLMUsageOutput, provided by the $LLMUsageOutputExtension extension

copyWithWrapped({Wrapped<Map<String, dynamic>?>? modelUsage}) LLMUsageOutput

Available on LLMUsageOutput, provided by the $LLMUsageOutputExtension extension

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.
override

Constants

fromJsonFactory → const LLMUsageOutput Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(LLMUsageOutput instance)