STWHero class Null safety
STW Hero object
- Inheritance
-
- Object
- ProfileItem
- STWHero
Constructors
Properties
-
attributes
↔ Map<
String, dynamic> -
attributes of the item
read / writeinherited
- client ↔ Client
-
main client
read / writeinherited
- gender → String
-
get gender
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ String
-
unique id of the item
read / writeinherited
- isFavourite → bool
-
is the item favourite
read-onlyinherited
- level → int
-
get level
read-only
- profileId ↔ FortniteProfile
-
profile id of the item
read / writeinherited
- quantity ↔ int
-
quantity of the item
read / writeinherited
- 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-onlyinherited
- templateId ↔ String
-
template if of the item
read / writeinherited
- 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