STWWeapon class Null safety

STW weapon object

Inheritance

Constructors

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

Properties

attributes Map<String, dynamic>
attributes of the item
read / writeinherited
client Client
main client
read / writeinherited
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
isStormKing bool
is it a storm king schematic
read-onlyinherited
level int
get level
read-onlyinherited
oreOrCrystal String?
is the schematic ore or crystal. its null if the schematic is a trap.
read-onlyinherited
profileId FortniteProfile
profile id of the item
read / writeinherited
quantity int
quantity of the item
read / writeinherited
rarity String
get rarity
read-onlyinherited
rarityEnum String
get rarity enum
read-onlyinherited
rating num
get power level of the schematic.
read-onlyinherited
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-onlyinherited
type String
get type of schematic (weapon or trap).
read-onlyinherited

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