AccountsTotal class
Constructors
- AccountsTotal({int? accounts, int? completionTokens, int? costCents, int? promptTokens, int? requests, int? totalTokens})
- Returns a new AccountsTotal instance.
Properties
- accounts ↔ int?
-
Accounts is how many linked accounts the total folds.
getter/setter pair
- completionTokens ↔ int?
-
CompletionTokens is the total completion-token count.
getter/setter pair
- costCents ↔ int?
-
CostCents is the total cost in cents.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- promptTokens ↔ int?
-
PromptTokens is the total prompt-token count.
getter/setter pair
- requests ↔ int?
-
Requests is the total request count the gateway routed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalTokens ↔ int?
-
TotalTokens is the total token count.
getter/setter pair
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
Static Methods
-
fromJson(
dynamic value) → AccountsTotal? -
Returns a new AccountsTotal instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< AccountsTotal> -
mapFromJson(
dynamic json) → Map< String, AccountsTotal> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< AccountsTotal> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.