ModerationCategories class

Categories of content that may be flagged by moderation

Constructors

ModerationCategories.new({required bool hate, required bool hateThreatening, required bool harassment, required bool harassmentThreatening, required bool selfHarm, required bool selfHarmIntent, required bool selfHarmInstructions, required bool sexual, required bool sexualMinors, required bool violence, required bool violenceGraphic})
const
ModerationCategories.fromJson(Map<String, dynamic> json)
factory

Properties

harassment bool
Content that expresses, incites, or promotes harassing language towards any target.
final
harassmentThreatening bool
Harassment content that also includes violence or serious harm towards any target.
final
hashCode int
The hash code for this object.
no setterinherited
hate bool
Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
final
hateThreatening bool
Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfHarm bool
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
final
selfHarmInstructions bool
Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.
final
selfHarmIntent bool
Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide or cutting.
final
sexual bool
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
final
sexualMinors bool
Sexual content that includes an individual who is under 18 years old.
final
violence bool
Content that depicts death, violence, or physical injury.
final
violenceGraphic bool
Content that depicts death, violence, or physical injury in graphic detail.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited