ModerationCategoryScores class
- Annotations
-
- @freezed
Constructors
- ModerationCategoryScores.new({double? hate, @JsonKey(name: 'hate/threatening') double? hateThreatening, @JsonKey(name: 'self-harm') double? selfHarm, double? sexual, @JsonKey(name: 'sexual/minors') double? sexualMinors, double? violence, @JsonKey(name: 'violence/graphic') double? violenceGraphic})
-
constfactory
-
ModerationCategoryScores.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ModerationCategoryScoresCopyWith<
ModerationCategoryScores> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hate → double?
-
no setterinherited
- hateThreatening → double?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfHarm → double?
-
no setterinherited
- sexual → double?
-
no setterinherited
- sexualMinors → double?
-
no setterinherited
- violence → double?
-
no setterinherited
- violenceGraphic → double?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited