LLMUsageCalculatorRequestModel class

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

Constructors

LLMUsageCalculatorRequestModel({dynamic promptLength, dynamic numberOfPages, dynamic ragEnabled})
const
LLMUsageCalculatorRequestModel.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
numberOfPages → dynamic
final
promptLength → dynamic
final
ragEnabled → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({dynamic promptLength, dynamic numberOfPages, dynamic ragEnabled}) LLMUsageCalculatorRequestModel

Available on LLMUsageCalculatorRequestModel, provided by the $LLMUsageCalculatorRequestModelExtension extension

copyWithWrapped({Wrapped? promptLength, Wrapped? numberOfPages, Wrapped? ragEnabled}) LLMUsageCalculatorRequestModel

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