AttachmentEntity constructor

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

Returns a new AttachmentEntity instance.

Implementation

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