DestinyDerivedItemCategoryDefinition class
A shortcut for the fact that some items have a "Preview Vendor" - See DestinyInventoryItemDefinition.preview.previewVendorHash - that is intended to be used to show what items you can get as a result of acquiring or using this item. A common example of this in Destiny 1 was Eververse "Boxes," which could have many possible items. This "Preview Vendor" is not a vendor you can actually see in the game, but it defines categories and sale items for all of the possible items you could get from the Box so that the game can show them to you. We summarize that info here so that you don't have to do that Vendor lookup and aggregation manually.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyDerivedItemCategoryDefinition()
-
DestinyDerivedItemCategoryDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- categoryDescription ↔ String?
-
The localized string for the category title. This will be something describing the items you can get as a group, or your likelihood/the quantity you'll get.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
↔ List<
DestinyDerivedItemDefinition> ? -
This is the list of all of the items for this category and the basic properties we'll know about them.
getter/setter pair
- 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<DestinyDerivedItemCategoryDefinition>