DestinyItemActionBlockDefinition class

If an item can have an action performed on it (like "Dismantle"), it will be defined here if you care.

Annotations
  • @JsonSerializable()

Properties

actionTypeLabel String?
The internal identifier for the action.
getter/setter pair
consumeEntireStack bool?
If true, the entire stack is deleted when the action completes.
getter/setter pair
deleteOnAction bool?
If true, the item is deleted when the action completes.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPositive bool?
The content has this property, however it's not entirely clear how it is used.
getter/setter pair
overlayIcon String?
The icon associated with the overlay screen for the action, if any.
getter/setter pair
overlayScreenName String?
If the action has an overlay screen associated with it, this is the name of that screen. Unfortunately, we cannot return the screen's data itself.
getter/setter pair
progressionRewards List<DestinyProgressionRewardDefinition>?
If performing this action earns you Progression, this is the list of progressions and values granted for those progressions by performing this action.
getter/setter pair
requiredCooldownHash int?
The identifier hash for the Cooldown associated with this action. We have not pulled this data yet for you to have more data to use for cooldowns.
getter/setter pair
requiredCooldownSeconds int?
The number of seconds to delay before allowing this action to be performed again.
getter/setter pair
requiredItems List<DestinyItemActionRequiredItemDefinition>?
If the action requires other items to exist or be destroyed, this is the list of those items and requirements.
getter/setter pair
requiredLocation String?
Theoretically, an item could have a localized string for a hint about the location in which the action should be performed. In practice, no items yet have this property.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useOnAcquire bool?
If true, this action will be performed as soon as you earn this item. Some rewards work this way, providing you a single item to pick up from a reward-granting vendor in-game and then immediately consuming itself to provide you multiple items.
getter/setter pair
verbDescription String?
Localized text describing the action being performed.
getter/setter pair
verbName String?
Localized text for the verb of the action being performed.
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<DestinyItemActionBlockDefinition>