PromptFeedback class

Feedback on the prompt provided in the request.

Constructors

PromptFeedback({BlockReason? blockReason, required List<SafetyRating> safetyRatings})

Properties

blockReason BlockReason?
The reason that content was blocked, if at all.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyRatings List<SafetyRating>
A list of relevant safety ratings.
final

Methods

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

Operators

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