CreateCompletionResponseChoicesInnerLogprobs class
Constructors
-
CreateCompletionResponseChoicesInnerLogprobs({List<
String> tokens = const [], List<num> tokenLogprobs = const [], List<Object> topLogprobs = const [], List<int> textOffset = const []}) - Returns a new CreateCompletionResponseChoicesInnerLogprobs instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textOffset
↔ List<
int> -
getter/setter pair
-
tokenLogprobs
↔ List<
num> -
getter/setter pair
-
tokens
↔ List<
String> -
getter/setter pair
-
topLogprobs
↔ List<
Object> -
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) → CreateCompletionResponseChoicesInnerLogprobs? -
Returns a new CreateCompletionResponseChoicesInnerLogprobs instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CreateCompletionResponseChoicesInnerLogprobs> ? -
mapFromJson(
dynamic json) → Map< String, CreateCompletionResponseChoicesInnerLogprobs> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CreateCompletionResponseChoicesInnerLogprobs> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.