DestinyEnergyCapacityEntry class
Items can have Energy Capacity, and plugs can provide that capacity such as on a piece of Armor in Armor 2.0. This is how much "Energy" can be spent on activating plugs for this item.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyEnergyCapacityEntry()
-
DestinyEnergyCapacityEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- capacityValue ↔ int?
-
How much energy capacity this plug provides.
getter/setter pair
- energyType ↔ DestinyEnergyType?
-
The Energy Type for this energy capacity, in enum form for easy use.
getter/setter pair
- energyTypeHash ↔ int?
-
Energy provided by a plug is always of a specific type - this is the hash identifier for the energy type for which it provides Capacity.
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<DestinyEnergyCapacityEntry>