GetModelsParams constructor

const GetModelsParams({
  1. int? limit,
  2. int? page,
  3. String? cursor,
  4. int? id,
  5. String? username,
  6. bool? nsfw,
  7. bool? primaryFileOnly,
  8. bool? favorites,
  9. bool? hidden,
  10. List<ModelType>? types,
  11. List<BaseModel>? baseModels,
  12. ModelSort? sort,
  13. MetricTimeframe? period,
  14. List<int>? tags,
  15. int? browsingLevel,
  16. bool? earlyAccess,
  17. String? query,
  18. bool? supportsGeneration,
  19. bool? archived,
})

Creates parameters for retrieving a list of models.

Implementation

const GetModelsParams({
  super.limit,
  super.page,
  super.cursor,
  this.id,
  this.username,
  this.nsfw,
  this.primaryFileOnly,
  this.favorites,
  this.hidden,
  this.types,
  this.baseModels,
  this.sort,
  this.period,
  this.tags,
  this.browsingLevel,
  this.earlyAccess,
  this.query,
  this.supportsGeneration,
  this.archived,
});