DestinyVendorsResponse class

A response containing all of the components for all requested vendors.

Annotations
  • @JsonSerializable()

Constructors

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

Properties

categories DictionaryComponentResponseOfuint32AndDestinyVendorCategoriesComponent?
Categories that the vendor has available, and references to the sales therein. These are keyed by the Vendor Hash, so you will get one Categories Component per vendor returned. COMPONENT TYPE: VendorCategories
getter/setter pair
currencyLookups SingleComponentResponseOfDestinyCurrenciesComponent?
A "lookup" convenience component that can be used to quickly check if the character has access to items that can be used for purchasing. COMPONENT TYPE: CurrencyLookups
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemComponents Map<String, DestinyItemComponentSetOfint32>?
The set of item detail components, one set of item components per Vendor. These are keyed by the Vendor Hash, so you will get one Item Component Set per vendor returned. The components contained inside are themselves keyed by the vendorSaleIndex, and will have whatever item-level components you requested (Sockets, Stats, Instance data etc...) per item being sold by the vendor.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sales DictionaryComponentResponseOfuint32AndPersonalDestinyVendorSaleItemSetComponent?
Sales, keyed by the vendorItemIndex of the item being sold. These are keyed by the Vendor Hash, so you will get one Sale Item Set Component per vendor returned. Note that within the Sale Item Set component, the sales are themselves keyed by the vendorSaleIndex, so you can relate it to the corrent sale item definition within the Vendor's definition. COMPONENT TYPE: VendorSales
getter/setter pair
stringVariables SingleComponentResponseOfDestinyStringVariablesComponent?
A map of string variable values by hash for this character context. COMPONENT TYPE: StringVariables
getter/setter pair
vendorGroups SingleComponentResponseOfDestinyVendorGroupComponent?
For Vendors being returned, this will give you the information you need to group them and order them in the same way that the Bungie Companion app performs grouping. It will automatically be returned if you request the Vendors component. COMPONENT TYPE: Vendors
getter/setter pair
vendors DictionaryComponentResponseOfuint32AndDestinyVendorComponent?
The base properties of the vendor. These are keyed by the Vendor Hash, so you will get one Vendor Component per vendor returned. COMPONENT TYPE: Vendors
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<DestinyVendorsResponse>