LLMTokensCategoryUsage class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- LLMTokensCategoryUsage({int? tokens, double? price})
-
const
-
LLMTokensCategoryUsage.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
copyWith(
{int? tokens, double? price}) → LLMTokensCategoryUsage -
Available on LLMTokensCategoryUsage, provided by the $LLMTokensCategoryUsageExtension extension
-
copyWithWrapped(
{Wrapped< int?> ? tokens, Wrapped<double?> ? price}) → LLMTokensCategoryUsage -
Available on LLMTokensCategoryUsage, provided by the $LLMTokensCategoryUsageExtension 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 LLMTokensCategoryUsage Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(LLMTokensCategoryUsage instance)