DestinyStat class

Represents a stat on an item or Character (NOT a Historical Stat, but a physical attribute stat like Attack, Defense etc...)

Annotations
  • @JsonSerializable()

Constructors

DestinyStat()
DestinyStat.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statHash int?
The hash identifier for the Stat. Use it to look up the DestinyStatDefinition for static data about the stat.
getter/setter pair
value int?
The current value of the Stat.
getter/setter pair

Methods

asyncToJson() Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<DestinyStat>