LLMUsageCalculatorLLMResponseModel class

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

Constructors

LLMUsageCalculatorLLMResponseModel({required Llm llm, required double pricePerMinute})
const
LLMUsageCalculatorLLMResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
llm Llm
final
pricePerMinute double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Llm? llm, double? pricePerMinute}) LLMUsageCalculatorLLMResponseModel

Available on LLMUsageCalculatorLLMResponseModel, provided by the $LLMUsageCalculatorLLMResponseModelExtension extension

copyWithWrapped({Wrapped<Llm>? llm, Wrapped<double>? pricePerMinute}) LLMUsageCalculatorLLMResponseModel

Available on LLMUsageCalculatorLLMResponseModel, provided by the $LLMUsageCalculatorLLMResponseModelExtension 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 LLMUsageCalculatorLLMResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(LLMUsageCalculatorLLMResponseModel instance)