DestinyVendorBaseComponent class
This component contains essential/summary information about the vendor.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyVendorBaseComponent()
-
DestinyVendorBaseComponent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- enabled ↔ bool?
-
If True, the Vendor is currently accessible.
If False, they may not actually be visible in the world at the moment.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextRefreshDate ↔ String?
-
The date when this vendor's inventory will next rotate/refresh.
Note that this is distinct from the date ranges that the vendor is visible/available in-game: this field indicates the specific time when the vendor's available items refresh and rotate, regardless of whether the vendor is actually available at that time. Unfortunately, these two values may be (and are, for the case of important vendors like Xur) different.
Issue https://github.com/Bungie-net/api/issues/353 is tracking a fix to start providing visibility date ranges where possible in addition to this refresh date, so that all important dates for vendors are available for use.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vendorHash ↔ int?
-
The unique identifier for the vendor. Use it to look up their DestinyVendorDefinition.
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<DestinyVendorBaseComponent>