Weapon class
- Annotations
-
- @JsonSerializable()
Constructors
-
Weapon(String uuid, String displayName, String category, String defaultSkinUuid, String killStreamIcon, String assetPath, WeaponStats? weaponStats, WeaponShopData? shopData, List<
WeaponSkin> skins) -
const
-
Weapon.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assetPath → String
-
final
- category → String
-
final
- defaultSkinUuid → String
-
final
- displayName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- killStreamIcon → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shopData → WeaponShopData?
-
final
-
skins
→ List<
WeaponSkin> -
final
- uuid → String
-
final
- weaponStats → WeaponStats?
-
final
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