ModelDetail constructor

ModelDetail({
  1. String? id,
  2. String? author,
  3. String? name,
  4. String? primaryMethod,
  5. String? secondaryMethods,
  6. String? confidence,
  7. String? classificationEvidence,
  8. String? classifierVersion,
  9. String? classifiedAt,
  10. String? family,
  11. num? paramsB,
  12. int? isGguf,
  13. int? isMoe,
  14. int? isMultimodal,
  15. int? isImageGen,
  16. int? isSecondOrder,
  17. int? downloads,
  18. int? likes,
  19. String? createdAt,
  20. String? lastModified,
  21. String? firstSeenAt,
  22. String? lastSeenAt,
  23. int? isDelisted,
  24. int? daysSinceGone,
  25. String? readmeText,
  26. String? readmeStatus,
  27. String? tags,
  28. String? pipelineTag,
  29. String? libraryName,
  30. String? yamlBaseModel,
  31. String? yamlLanguage,
  32. String? yamlDatasets,
  33. String? yamlLicense,
  34. String? yamlTags,
  35. int? filesCount,
  36. int? totalSizeBytes,
  37. int? largestFileBytes,
  38. int? smallestModelBytes,
  39. String? quantizations,
  40. int? hasMmproj,
  41. int? hubDownloadsAllTime,
  42. int? hubTrendingScore,
  43. num? hubRealParamsM,
  44. int? hubContextLength,
  45. int? hubSiblingsCount,
  46. int? hubProviderCount,
  47. String? hubProviderNames,
  48. String? hubEnrichedAt,
  49. List<Object> files = const [],
  50. Object? benchmarks,
  51. Author? authorSummary,
})

Returns a new ModelDetail instance.

Implementation

ModelDetail({
  this.id,
  this.author,
  this.name,
  this.primaryMethod,
  this.secondaryMethods,
  this.confidence,
  this.classificationEvidence,
  this.classifierVersion,
  this.classifiedAt,
  this.family,
  this.paramsB,
  this.isGguf,
  this.isMoe,
  this.isMultimodal,
  this.isImageGen,
  this.isSecondOrder,
  this.downloads,
  this.likes,
  this.createdAt,
  this.lastModified,
  this.firstSeenAt,
  this.lastSeenAt,
  this.isDelisted,
  this.daysSinceGone,
  this.readmeText,
  this.readmeStatus,
  this.tags,
  this.pipelineTag,
  this.libraryName,
  this.yamlBaseModel,
  this.yamlLanguage,
  this.yamlDatasets,
  this.yamlLicense,
  this.yamlTags,
  this.filesCount,
  this.totalSizeBytes,
  this.largestFileBytes,
  this.smallestModelBytes,
  this.quantizations,
  this.hasMmproj,
  this.hubDownloadsAllTime,
  this.hubTrendingScore,
  this.hubRealParamsM,
  this.hubContextLength,
  this.hubSiblingsCount,
  this.hubProviderCount,
  this.hubProviderNames,
  this.hubEnrichedAt,
  this.files = const [],
  this.benchmarks,
  this.authorSummary,
});