Item class

Item class object

Constructors

Item(String id, String name, String description, Rarity rarityEnum, String virtualImagePath, String imagePath, String imageUrl, String path, int amount)
item object

Properties

amount int
amount of item
getter/setter pair
description String
description of item
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
id of item
getter/setter pair
imagePath String
image path of item
getter/setter pair
imageUrl String
image url of the item
getter/setter pair
name String
name of item
getter/setter pair
path String
game files path of item
getter/setter pair
rarity String
get rarity of item
no setter
rarityEnum Rarity
rarity enum of item
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
virtualImagePath String
virtual image path of item
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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