ModelFile constructor

const ModelFile({
  1. required int id,
  2. required String name,
  3. required double sizeKB,
  4. required FileType type,
  5. Map<String, String>? hashes,
  6. String? downloadUrl,
  7. bool? primary,
  8. Map<String, dynamic>? metadata,
})

Creates a new model file instance.

Implementation

const ModelFile({
  required this.id,
  required this.name,
  required this.sizeKB,
  required this.type,
  this.hashes,
  this.downloadUrl,
  this.primary,
  this.metadata,
});