Item class Null safety

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
read / write
description String
description of item
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
id of item
read / write
imagePath String
image path of item
read / write
imageUrl String
image url of the item
read / write
name String
name of item
read / write
path String
game files path of item
read / write
rarity String
get rarity of item
read-only
rarityEnum Rarity
rarity enum of item
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
virtualImagePath String
virtual image path of item
read / write

Methods

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

Operators

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