DestinyMilestoneRewardEntry class

The character-specific data for a milestone's reward entry. See DestinyMilestoneDefinition for more information about Reward Entries.

Annotations
  • @JsonSerializable()

Properties

earned bool?
If TRUE, the player has earned this reward.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
redeemed bool?
If TRUE, the player has redeemed/picked up/obtained this reward. Feel free to alias this to "gotTheShinyBauble" in your own codebase.
getter/setter pair
rewardEntryHash int?
The identifier for the reward entry in question. It is important to look up the related DestinyMilestoneRewardEntryDefinition to get the static details about the reward, which you can do by looking up the milestone's DestinyMilestoneDefinition and examining the DestinyMilestoneDefinition.rewardsrewardCategoryHash.rewardEntriesrewardEntryHash data.
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<DestinyMilestoneRewardEntry>