SafetyCategory enum

Inheritance

Constructors

SafetyCategory()
const

Values

HARM_CATEGORY_UNSPECIFIED → const SafetyCategory
HARM_CATEGORY_DEROGATORY → const SafetyCategory
HARM_CATEGORY_TOXICITY → const SafetyCategory
HARM_CATEGORY_VIOLENCE → const SafetyCategory
HARM_CATEGORY_SEXUAL → const SafetyCategory
HARM_CATEGORY_MEDICAL → const SafetyCategory
HARM_CATEGORY_DANGEROUS → const SafetyCategory
HARM_CATEGORY_HARASSMENT → const SafetyCategory
HARM_CATEGORY_HATE_SPEECH → const SafetyCategory
HARM_CATEGORY_SEXUALLY_EXPLICIT → const SafetyCategory
HARM_CATEGORY_DANGEROUS_CONTENT → const SafetyCategory

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.