DestinyItemInventoryBlockDefinition class

If the item can exist in an inventory - the overwhelming majority of them can and do - then this is the basic properties regarding the item's relationship with the inventory.

Annotations
  • @JsonSerializable()

Properties

bucketTypeHash int?
The hash identifier for the DestinyInventoryBucketDefinition to which this item belongs. I should have named this "bucketHash", but too many things refer to it now. Sigh.
getter/setter pair
expirationTooltip String?
The tooltip message to show, if any, when the item expires.
getter/setter pair
expiredInActivityMessage String?
If the item expires while playing in an activity, we show a different message.
getter/setter pair
expiredInOrbitMessage String?
If the item expires in orbit, we show a... more different message. ("Consummate V's, consummate!")
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isInstanceItem bool?
If TRUE, this item is instanced. Otherwise, it is a generic item that merely has a quantity in a stack (like Glimmer).
getter/setter pair
maxStackSize int?
The maximum quantity of this item that can exist in a stack.
getter/setter pair
recipeItemHash int?
A reference to the associated crafting 'recipe' item definition, if this item can be crafted.
getter/setter pair
recoveryBucketTypeHash int?
If the item is picked up by the lost loot queue, this is the hash identifier for the DestinyInventoryBucketDefinition into which it will be placed. Again, I should have named this recoveryBucketHash instead.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackUniqueLabel String?
If this string is populated, you can't have more than one stack with this label in a given inventory. Note that this is different from the equipping block's unique label, which is used for equipping uniqueness.
getter/setter pair
suppressExpirationWhenObjectivesComplete bool?
getter/setter pair
tierType TierType?
The enumeration matching the tier type of the item to known values, again for convenience sake.
getter/setter pair
tierTypeHash int?
The hash identifier for the Tier Type of the item, use to look up its DestinyItemTierTypeDefinition if you need to show localized data for the item's tier.
getter/setter pair
tierTypeName String?
The localized name of the tier type, which is a useful shortcut so you don't have to look up the definition every time. However, it's mostly a holdover from days before we had a DestinyItemTierTypeDefinition to refer to.
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<DestinyItemInventoryBlockDefinition>