UsageReportByModelInner class

Available extensions
Annotations
  • @CopyWith.new()
  • @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

UsageReportByModelInner({required String? model, required num costUsd, required int tokensIn, required int tokensOut})
Returns a new UsageReportByModelInner instance.
UsageReportByModelInner.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$UsageReportByModelInnerCWProxy

Available on UsageReportByModelInner, provided by the $UsageReportByModelInnerCopyWith extension

Returns a callable class used to build a new instance with modified fields. Example: instanceOfUsageReportByModelInner.copyWith(...) or instanceOfUsageReportByModelInner.copyWith.fieldName(...).
no setter
costUsd → num
final
hashCode → int
The hash code for this object.
no setteroverride
model → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokensIn → int
final
tokensOut → int
final

Methods

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