DestinyCollectibleNodeDetailResponse class
Returns the detailed information about a Collectible Presentation Node and any Collectibles that are direct descendants.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyCollectibleNodeDetailResponse()
-
DestinyCollectibleNodeDetailResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- collectibleItemComponents ↔ DestinyItemComponentSetOfuint32?
-
Item components, keyed by the item hash of the items pointed at collectibles found under the requested Presentation Node.
NOTE: I had a lot of hemming and hawing about whether these should be keyed by collectible hash or item hash... but ultimately having it be keyed by item hash meant that UI that already uses DestinyItemComponentSet data wouldn't have to have a special override to do the collectible -> item lookup once you delve into an item's details, and it also meant that you didn't have to remember that the Hash being used as the key for plugSets was different from the Hash being used for the other Dictionaries. As a result, using the Item Hash felt like the least crappy solution.
We may all come to regret this decision. We will see.
COMPONENT TYPE:
See inside the DestinyItemComponentSet contract for component types.
getter/setter pair - collectibles ↔ SingleComponentResponseOfDestinyCollectiblesComponent?
-
COMPONENT TYPE: Collectibles
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<DestinyCollectibleNodeDetailResponse>