ModerationStats class

Moderation statistics for a batch of texts

Constructors

ModerationStats.new({required int totalTexts, required int flaggedTexts, required int safeTexts, required double flaggedPercentage, required Map<String, int> categoryBreakdown, required String mostCommonViolation})
const

Properties

categoryBreakdown Map<String, int>
final
flaggedPercentage double
final
flaggedTexts int
final
hashCode int
The hash code for this object.
no setterinherited
mostCommonViolation String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeTexts int
final
totalTexts int
final

Methods

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

Operators

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