AttachmentProjection constructor

AttachmentProjection({
  1. String? name,
  2. int? contentLength,
  3. required String userId,
  4. required String attachmentId,
  5. required DateTime createdAt,
  6. required DateTime updatedAt,
  7. String? contentType,
})

Returns a new AttachmentProjection instance.

Implementation

AttachmentProjection({
  this.name,
  this.contentLength,
  required this.userId,
  required this.attachmentId,
  required this.createdAt,
  required this.updatedAt,
  this.contentType,
});