ModerationCategories class

Annotations
  • @freezed

Constructors

ModerationCategories({bool? hate, @JsonKey(name: 'hate/threatening') bool? hateThreatening, @JsonKey(name: 'self-harm') bool? selfHarm, bool? sexual, @JsonKey(name: 'sexual/minors') bool? sexualMinors, bool? violence, @JsonKey(name: 'violence/graphic') bool? violenceGraphic})
const
factory
ModerationCategories.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $ModerationCategoriesCopyWith<ModerationCategories>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hate bool?
no setterinherited
hateThreatening bool?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfHarm bool?
no setterinherited
sexual bool?
no setterinherited
sexualMinors bool?
no setterinherited
violence bool?
no setterinherited
violenceGraphic bool?
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