CurseForgeMod class

Constructors

CurseForgeMod({required int id, required int gameId, required String name, required String slug, required CurseForgeModLinks links, required String summary, required int status, required int downloadCount, required bool isFeatured, required int primaryCategoryId, required List<CurseForgeCategory> categories, required int? classId, required List<CurseForgeModAuthor> authors, required List<CurseForgeModScreenshot> screenshots, required int mainFileId, required List<CurseForgeModLatestFile> latestFiles, required List<CurseForgeModLatestFilesIndex> latestFilesIndexes, required String dateCreated, required String dateModified, required String dateReleased, required bool? allowModDistribution, required int gamePopularityRank})
const
CurseForgeMod.fromJson(String source)
factory
CurseForgeMod.fromMap(Map<String, dynamic> map)
factory

Properties

allowModDistribution bool?
final
authors List<CurseForgeModAuthor>
final
categories List<CurseForgeCategory>
final
classId int?
final
dateCreated String
final
dateModified String
final
dateReleased String
final
downloadCount int
final
gameId int
final
gamePopularityRank int
final
hashCode int
The hash code for this object.
no setteroverride
id int
final
isFeatured bool
final
latestFiles List<CurseForgeModLatestFile>
final
latestFilesIndexes List<CurseForgeModLatestFilesIndex>
final
final
final
mainFileId int
final
name String
final
primaryCategoryId int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenshots List<CurseForgeModScreenshot>
final
slug String
final
status int
final
summary String
final

Methods

copyWith({int? id, int? gameId, String? name, String? slug, CurseForgeModLinks? links, String? summary, int? status, int? downloadCount, bool? isFeatured, int? primaryCategoryId, List<CurseForgeCategory>? categories, int? classId, List<CurseForgeModAuthor>? authors, List<CurseForgeModScreenshot>? screenshots, int? mainFileId, List<CurseForgeModLatestFile>? latestFiles, List<CurseForgeModLatestFilesIndex>? latestFilesIndexes, String? dateCreated, String? dateModified, String? dateReleased, bool? allowModDistribution, int? gamePopularityRank}) CurseForgeMod
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override