LLMUsageCalculatorPublicRequestModel class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- LLMUsageCalculatorPublicRequestModel({required int promptLength, required int numberOfPages, required bool ragEnabled})
-
const
-
LLMUsageCalculatorPublicRequestModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- numberOfPages → int
-
final
- promptLength → int
-
final
- ragEnabled → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? promptLength, int? numberOfPages, bool? ragEnabled}) → LLMUsageCalculatorPublicRequestModel -
Available on LLMUsageCalculatorPublicRequestModel, provided by the $LLMUsageCalculatorPublicRequestModelExtension extension
-
copyWithWrapped(
{Wrapped< int> ? promptLength, Wrapped<int> ? numberOfPages, Wrapped<bool> ? ragEnabled}) → LLMUsageCalculatorPublicRequestModel -
Available on LLMUsageCalculatorPublicRequestModel, provided by the $LLMUsageCalculatorPublicRequestModelExtension 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 LLMUsageCalculatorPublicRequestModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(LLMUsageCalculatorPublicRequestModel instance)