SafetyCategory enum
Values
- harassment → const SafetyCategory
-
harassment Negative or harmful comments targeting identity and/or protected attributes.
const SafetyCategory('HARM_CATEGORY_HARASSMENT')
- hateSpeech → const SafetyCategory
-
hateSpeech Content that is rude, disrespectful, or profane.
const SafetyCategory('HARM_CATEGORY_HATE_SPEECH')
- sexuallyExplicit → const SafetyCategory
-
sexuallyExplicit Contains references to sexual acts or other lewd content.
const SafetyCategory('HARM_CATEGORY_SEXUALLY_EXPLICIT')
- dangerous → const SafetyCategory
-
dangerous Promotes, facilitates, or encourages harmful acts.
const SafetyCategory('HARM_CATEGORY_DANGEROUS')
Properties
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
Constants
-
values
→ const List<
SafetyCategory> - A constant List of the values in this enum, in order of their declaration.