FileDTO constructor

FileDTO({
  1. String? id,
  2. String? filename,
  3. int? size,
  4. String? contentType,
  5. List<RelatedEntityDTO> relatedEntities = const [],
  6. int? uploadedBySubjectId,
  7. String? uploadedBySubjectName,
  8. DateTime? createdAt,
})

Returns a new FileDTO instance.

Implementation

FileDTO({
  this.id,
  this.filename,
  this.size,
  this.contentType,
  this.relatedEntities = const [],
  this.uploadedBySubjectId,
  this.uploadedBySubjectName,
  this.createdAt,
});