ActionLog class

Annotations
  • @freezed
  • @immutable
  • @JsonSerializable()

Constructors

ActionLog.new({required DateTime createdAt, required Map<String, Object?> custom, required String id, required String reason, required String reporterType, ReviewQueueItem? reviewQueueItem, required String reviewQueueItemId, User? targetUser, required String targetUserId, required String type, User? user})
const

Properties

copyWith → $ActionLogCopyWith<ActionLog>
Create a copy of ActionLog with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt DateTime
final
custom Map<String, Object?>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
reason String
final
reporterType String
final
reviewQueueItem ReviewQueueItem?
final
reviewQueueItemId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUser → User?
final
targetUserId String
final
type String
final
user → User?
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

Static Methods

fromJson(Map<String, dynamic> json) ActionLog