Candidates class

Candidates is the value in request response

Available Extensions
Annotations
  • @unfreezed

Constructors

Candidates({Content? content, String? finishReason, int? index, List<SafetyRatings>? safetyRatings})
factory
Candidates.fromJson(Map<String, Object?> json)
factory

Properties

content Content?
getter/setter pairinherited
copyWith → $CandidatesCopyWith<Candidates>
no setterinherited
finishReason String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
index int?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyRatings List<SafetyRatings>?
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

jsonToList(List list) List<Candidates>