SafetySetting_HarmBlockThreshold class final

Block at and beyond a specified harm probability.

Inheritance
  • Object
  • ProtoEnum
  • SafetySetting_HarmBlockThreshold

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 SafetySetting_HarmBlockThreshold
The default value for SafetySetting_HarmBlockThreshold.
blockLowAndAbove → const SafetySetting_HarmBlockThreshold
Content with NEGLIGIBLE will be allowed.
blockMediumAndAbove → const SafetySetting_HarmBlockThreshold
Content with NEGLIGIBLE and LOW will be allowed.
blockNone → const SafetySetting_HarmBlockThreshold
All content will be allowed.
blockOnlyHigh → const SafetySetting_HarmBlockThreshold
Content with NEGLIGIBLE, LOW, and MEDIUM will be allowed.
harmBlockThresholdUnspecified → const SafetySetting_HarmBlockThreshold
Threshold is unspecified.
off → const SafetySetting_HarmBlockThreshold
Turn off the safety filter.