DestinyKioskItem class

Annotations
  • @JsonSerializable()

Constructors

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

Properties

canAcquire bool?
If true, the user can not only see the item, but they can acquire it. It is possible that a user can see a kiosk item and not be able to acquire it.
getter/setter pair
failureIndexes List<int>?
Indexes into failureStrings for the Vendor, indicating the reasons why it failed if any.
getter/setter pair
flavorObjective DestinyObjectiveProgress?
I may regret naming it this way - but this represents when an item has an objective that doesn't serve a beneficial purpose, but rather is used for "flavor" or additional information. For instance, when Emblems track specific stats, those stats are represented as Objectives on the item.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index int?
The index of the item in the related DestinyVendorDefintion's itemList property, representing the sale.
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<DestinyKioskItem>