ModelDescriptor constructor

const ModelDescriptor({
  1. required String id,
  2. required String displayName,
  3. String? description,
  4. String? version,
  5. Map<String, dynamic> metadata = const {},
  6. bool requiresDownload = false,
  7. bool isDownloaded = true,
  8. int downloadSizeBytes = 0,
  9. String? downloadUrl,
})

Implementation

const ModelDescriptor({
  required this.id,
  required this.displayName,
  this.description,
  this.version,
  this.metadata = const {},
  this.requiresDownload = false,
  this.isDownloaded = true,
  this.downloadSizeBytes = 0,
  this.downloadUrl,
});