DestinyMilestoneQuestRewardItem class

A subclass of DestinyItemQuantity, that provides not just the item and its quantity but also information that BNet can - at some point - use internally to provide more robust runtime information about the item's qualities. If you want it, please ask! We're just out of time to wire it up right now. Or a clever person just may do it with our existing endpoints.

Annotations
  • @JsonSerializable()

Properties

hasConditionalVisibility bool?
Indicates that this item quantity may be conditionally shown or hidden, based on various sources of state. For example: server flags, account state, or character progress.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemHash int?
The hash identifier for the item in question. Use it to look up the item's DestinyInventoryItemDefinition.
getter/setter pair
itemInstanceId String?
If this quantity is referring to a specific instance of an item, this will have the item's instance ID. Normally, this will be null.
getter/setter pair
quantity int?
The amount of the item needed/available depending on the context of where DestinyItemQuantity is being used.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vendorHash int?
The quest reward item may be associated with a vendor. If so, this is that vendor. Use this hash to look up the DestinyVendorDefinition.
getter/setter pair
vendorItemIndex int?
The quest reward item may be associated with a vendor. If so, this is the index of the item being sold, which we can use at runtime to find instanced item information for the reward item.
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<DestinyMilestoneQuestRewardItem>