DocumentsModel constructor

DocumentsModel({
  1. required DateTime createdAt,
  2. String? id,
  3. Map<String, dynamic>? metadata,
  4. required String name,
  5. required String path,
  6. String? referenceNumber,
  7. int? size,
  8. required String type,
  9. required DateTime updatedAt,
  10. required String url,
})

Implementation

DocumentsModel({
  required this.createdAt,
  this.id,
  this.metadata,
  required this.name,
  required this.path,
  this.referenceNumber,
  this.size,
  required this.type,
  required this.updatedAt,
  required this.url,
});