GetModelsParams constructor
const
GetModelsParams({
- int? limit,
- int? page,
- String? cursor,
- int? id,
- String? username,
- bool? nsfw,
- bool? primaryFileOnly,
- bool? favorites,
- List<
ModelType> ? types, - List<
BaseModel> ? baseModels, - ModelSort? sort,
- MetricTimeframe? period,
- List<
int> ? tags, - int? browsingLevel,
- bool? earlyAccess,
- String? query,
- bool? supportsGeneration,
- 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,
});