DestinyVendorItemQuantity class
In addition to item quantity information for vendor prices, this also has any optional information that may exist about how the item's quantity can be modified. (unfortunately not information that is able to be read outside of the BNet servers, but it's there)
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyVendorItemQuantity()
-
DestinyVendorItemQuantity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hasConditionalVisibility ↔ bool?
-
Indicates that this item quantity may be conditionally shown or hidden, based on various sources of state. For example: server flags, account state, or character progress.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemHash ↔ int?
-
The hash identifier for the item in question. Use it to look up the item's DestinyInventoryItemDefinition.
getter/setter pair
- itemInstanceId ↔ String?
-
If this quantity is referring to a specific instance of an item, this will have the item's instance ID. Normally, this will be null.
getter/setter pair
- quantity ↔ int?
-
The amount of the item needed/available depending on the context of where DestinyItemQuantity is being used.
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<DestinyVendorItemQuantity>