ReviewQueueItem class

Constructors

ReviewQueueItem({List<ActionLog> actions = const [], UserObject? assignedTo, List<Ban> bans = const [], required NullTime completedAt, required bool contentChanged, required DateTime createdAt, UserObject? entityCreator, required String entityId, required String entityType, EnrichedActivity? feedsV2Activity, Reaction? feedsV2Reaction, List<Flag2> flags = const [], required bool hasImage, required bool hasText, required bool hasVideo, required String id, List<String> languages = const [], Message? message, ModerationPayload? moderationPayload, required String moderationPayloadHash, required String recommendedAction, required NullTime reviewedAt, required String reviewedBy, required int severity, required String status, required DateTime updatedAt})
Returns a new ReviewQueueItem instance.

Properties

actions List<ActionLog>
getter/setter pair
assignedTo UserObject?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
bans List<Ban>
getter/setter pair
completedAt NullTime
getter/setter pair
contentChanged bool
getter/setter pair
createdAt DateTime
getter/setter pair
entityCreator UserObject?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
entityId String
getter/setter pair
entityType String
getter/setter pair
feedsV2Activity EnrichedActivity?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
feedsV2Reaction Reaction?
getter/setter pair
flags List<Flag2>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hasImage bool
getter/setter pair
hasText bool
getter/setter pair
hasVideo bool
getter/setter pair
id String
getter/setter pair
languages List<String>
getter/setter pair
message Message?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
moderationPayload ModerationPayload?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
moderationPayloadHash String
getter/setter pair
recommendedAction String
getter/setter pair
reviewedAt NullTime
getter/setter pair
reviewedBy String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity int
getter/setter pair
status String
getter/setter pair
updatedAt DateTime
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) ReviewQueueItem?
Returns a new ReviewQueueItem instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ReviewQueueItem>
mapFromJson(dynamic json) Map<String, ReviewQueueItem>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ReviewQueueItem>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.