DestinyEnergyCostEntry class

Some plugs cost Energy, which is a stat on the item that can be increased by other plugs (that, at least in Armor 2.0, have a "masterworks-like" mechanic for upgrading). If a plug has costs, the details of that cost are defined here.

Annotations
  • @JsonSerializable()

Constructors

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

Properties

energyCost int?
The Energy cost for inserting this plug.
getter/setter pair
energyType DestinyEnergyType?
The type of energy that this plug costs, in enum form.
getter/setter pair
energyTypeHash int?
The type of energy that this plug costs, as a reference to the DestinyEnergyTypeDefinition of the energy type.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<DestinyEnergyCostEntry>