DestinyItemInstanceEnergy class

Annotations
  • @JsonSerializable()

Properties

energyCapacity int?
The total capacity of Energy that the item currently has, regardless of if it is currently being used.
getter/setter pair
energyType DestinyEnergyType?
This is the enum version of the Energy Type value, for convenience.
getter/setter pair
energyTypeHash int?
The type of energy for this item. Plugs that require Energy can only be inserted if they have the "Any" Energy Type or the matching energy type of this item. This is a reference to the DestinyEnergyTypeDefinition for the energy type, where you can find extended info about it.
getter/setter pair
energyUnused int?
The amount of energy still available for inserting new plugs.
getter/setter pair
energyUsed int?
The amount of Energy currently in use by inserted plugs.
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<DestinyItemInstanceEnergy>