ModSet class

Represents data on a mod set upgrade.

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

ModSet({required String uniqueName, required String name, required String? description, required String? imageName, required ItemType type, required String category, required String? productCategory, required bool tradable, required List<Patchlog>? patchlogs, required String? releaseDate, required bool isPrime, required Rarity? rarity, required List<Drop>? drops, required int numUpgradesInSet, required List<String> stats})
Represents data on a mod set upgrade.
const
ModSet.fromJson(Map<String, dynamic> json)
Creates a ModSet from json.
factory

Properties

category String
Item category.
finalinherited
description String?
Item decription.
finalinherited
drops List<Drop>?
List of drop ItemCommon locations.
finalinherited
excludeFromCodex bool?
Whether the item is excluded from the codex or not.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
imageName String?
Item image name.
finalinherited
isPrime bool
Whether the mod is a prime or not
finalinherited
name String
Name of the item.
finalinherited
numUpgradesInSet int
Number of upgrades per mod in set.
final
patchlogs List<Patchlog>?
Item changes throughout game version.
finalinherited
probability num?
Chances of the ItemCommon dropping.
finalinherited
productCategory String?
Item product category.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
rarity Rarity?
ItemCommon rarity.
finalinherited
releaseDate String?
The date the item was released in game.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats List<String>
Upgrade description for each tier.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tradable bool
Whether this item is tradable or not.
finalinherited
type ItemType
Item type.
finalinherited
uniqueName String
Unique name used within the game.
finalinherited
wikiaThumbnail String?
Wikia Item thumbnail url.
finalinherited
wikiaUrl String?
Item wikia url.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a json map from the giving Item.
override
toString() String
A string representation of this object.
inherited

Operators

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