DestinyItemResponse class

The response object for retrieving an individual instanced item. None of these components are relevant for an item that doesn't have an "itemInstanceId": for those, get your information from the DestinyInventoryDefinition.

Annotations
  • @JsonSerializable()

Constructors

DestinyItemResponse()
DestinyItemResponse.fromJson(Map<String, dynamic> json)
factory

Properties

characterId String?
If the item is on a character, this will return the ID of the character that is holding the item.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
instance SingleComponentResponseOfDestinyItemInstanceComponent?
Basic instance data for the item. COMPONENT TYPE: ItemInstances
getter/setter pair
item SingleComponentResponseOfDestinyItemComponent?
Common data for the item relevant to its non-instanced properties. COMPONENT TYPE: ItemCommonData
getter/setter pair
objectives SingleComponentResponseOfDestinyItemObjectivesComponent?
Information specifically about the item's objectives. COMPONENT TYPE: ItemObjectives
getter/setter pair
perks SingleComponentResponseOfDestinyItemPerksComponent?
Information specifically about the perks currently active on the item. COMPONENT TYPE: ItemPerks
getter/setter pair
plugObjectives SingleComponentResponseOfDestinyItemPlugObjectivesComponent?
Information about objectives on Plugs for a given item. See the component's documentation for more info. COMPONENT TYPE: ItemPlugObjectives
getter/setter pair
renderData SingleComponentResponseOfDestinyItemRenderComponent?
Information about how to render the item in 3D. COMPONENT TYPE: ItemRenderData
getter/setter pair
reusablePlugs SingleComponentResponseOfDestinyItemReusablePlugsComponent?
Information about the Reusable Plugs for sockets on an item. These are plugs that you can insert into the given socket regardless of if you actually own an instance of that plug: they are logic-driven plugs rather than inventory-driven. These may need to be combined with Plug Set component data to get a full picture of available plugs on a given socket. COMPONENT TYPE: ItemReusablePlugs
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sockets SingleComponentResponseOfDestinyItemSocketsComponent?
Information about the sockets of the item: which are currently active, what potential sockets you could have and the stats/abilities/perks you can gain from them. COMPONENT TYPE: ItemSockets
getter/setter pair
stats SingleComponentResponseOfDestinyItemStatsComponent?
Information about the computed stats of the item: power, defense, etc... COMPONENT TYPE: ItemStats
getter/setter pair
talentGrid SingleComponentResponseOfDestinyItemTalentGridComponent?
Information about the talent grid attached to the item. Talent nodes can provide a variety of benefits and abilities, and in Destiny 2 are used almost exclusively for the character's "Builds". COMPONENT TYPE: ItemTalentGrids
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<DestinyItemResponse>