Candidate class
- Annotations
-
- @JsonSerializable(explicitToJson: true, includeIfNull: false)
Constructors
- Candidate.new({required double? index, required Message? message, GenerationUsage? usage, required FinishReason? finishReason, String? finishMessage, dynamic custom})
-
Candidate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- custom → dynamic
-
final
- finishMessage → String?
-
final
- finishReason → FinishReason?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → double?
-
final
- message → Message?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usage → GenerationUsage?
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited