DestinyMilestoneRewardEntryDefinition class
The definition of a specific reward, which may be contained in a category of rewards and that has optional information about how it is obtained.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyMilestoneRewardEntryDefinition()
-
DestinyMilestoneRewardEntryDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- displayProperties ↔ DestinyDisplayPropertiesDefinition?
-
For us to bother returning this info, we should be able to return some kind of information about why these rewards are grouped together. This is ideally that information. Look at how confident I am that this will always remain true.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
↔ List<
DestinyItemQuantity> ? -
The items you will get as rewards, and how much of it you'll get.
getter/setter pair
- order ↔ int?
-
If you want to follow BNet's ordering of these rewards, use this number within a given category to order the rewards. Yeah, I know. I feel dirty too.
getter/setter pair
- rewardEntryHash ↔ int?
-
The identifier for this reward entry. Runtime data will refer to reward entries by this hash. Only guaranteed unique within the specific Milestone.
getter/setter pair
- rewardEntryIdentifier ↔ String?
-
The string identifier, if you care about it. Only guaranteed unique within the specific Milestone.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vendorHash ↔ int?
-
If this reward is redeemed at a Vendor, this is the hash of the Vendor to go to in order to redeem the reward. Use this hash to look up the 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<DestinyMilestoneRewardEntryDefinition>