STWHero class Null safety

STW Hero object

Inheritance

Constructors

STWHero(Client client, {required String id, required FortniteProfile profileId, required String templateId, required Map<String, dynamic> attributes, required int quantity})
STW Hero

Properties

attributes Map<String, dynamic>
attributes of the item
read / write, inherited
client Client
main client
read / write, inherited
gender String
get gender
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
unique id of the item
read / write, inherited
isFavourite bool
is the item favourite
read-only, inherited
level int
get level
read-only
profileId FortniteProfile
profile id of the item
read / write, inherited
quantity int
quantity of the item
read / write, inherited
rarity String
get rarity
read-only
rarityEnum String
get rarity enum
read-only
rating num
get power level of the hero.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
templateId String
template if of the item
read / write, inherited
tier int
get tier
read-only
type String
get type
read-only

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