SafetyRating_HarmProbability class final
The probability that a piece of content is harmful.
The classification system gives the probability of the content being unsafe. This does not indicate the severity of harm for a piece of content.
- Inheritance
-
- Object
- ProtoEnum
- SafetyRating_HarmProbability
Constructors
- SafetyRating_HarmProbability(String value)
-
const
- SafetyRating_HarmProbability.fromJson(Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const SafetyRating_HarmProbability
- The default value for SafetyRating_HarmProbability.
- harmProbabilityUnspecified → const SafetyRating_HarmProbability
- Probability is unspecified.
- high → const SafetyRating_HarmProbability
- Content has a high chance of being unsafe.
- low → const SafetyRating_HarmProbability
- Content has a low chance of being unsafe.
- medium → const SafetyRating_HarmProbability
- Content has a medium chance of being unsafe.
- negligible → const SafetyRating_HarmProbability
- Content has a negligible chance of being unsafe.