FileInfo constructor

const FileInfo({
  1. required String id,
  2. required String filename,
  3. required String originalName,
  4. required String mimeType,
  5. required int size,
  6. String? url,
  7. String? bucket,
  8. bool isPublic = false,
  9. DateTime? createdAt,
  10. Map<String, String>? thumbnails,
  11. Map<String, dynamic>? metadata,
})

Creates a new FileInfo instance

Implementation

const FileInfo({
  required this.id,
  required this.filename,
  required this.originalName,
  required this.mimeType,
  required this.size,
  this.url,
  this.bucket,
  this.isPublic = false,
  this.createdAt,
  this.thumbnails,
  this.metadata,
});