HarmProbability enum

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

Constructors

HarmProbability()
const

Values

unspecified → const HarmProbability

Probability is unspecified.

negligible → const HarmProbability

Content has a negligible probability of being unsafe.

low → const HarmProbability

Content has a low probability of being unsafe.

medium → const HarmProbability

Content has a medium probability of being unsafe.

high → const HarmProbability

Content has a high probability of being unsafe.

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<HarmProbability>
A constant List of the values in this enum, in order of their declaration.