Flag2 constructor

Flag2({
  1. required DateTime createdAt,
  2. Map<String, Object> custom = const {},
  3. String? entityCreatorId,
  4. required String entityId,
  5. required String entityType,
  6. List<String> labels = const [],
  7. ModerationPayload? moderationPayload,
  8. String? moderationPayloadHash,
  9. String? reason,
  10. List<Map<String, Object>> result = const [],
  11. String? reviewQueueItemId,
  12. String? type,
  13. required DateTime updatedAt,
  14. UserObject? user,
})

Returns a new Flag2 instance.

Implementation

Flag2({
  required this.createdAt,
  this.custom = const {},
  this.entityCreatorId,
  required this.entityId,
  required this.entityType,
  this.labels = const [],
  this.moderationPayload,
  this.moderationPayloadHash,
  this.reason,
  this.result = const [],
  this.reviewQueueItemId,
  this.type,
  required this.updatedAt,
  this.user,
});