DestinyMilestoneQuestDefinition class
Any data we need to figure out whether this Quest Item is the currently active one for the conceptual Milestone. Even just typing this description, I already regret it.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyMilestoneQuestDefinition()
-
DestinyMilestoneQuestDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activities
↔ Map<
String, DestinyMilestoneActivityDefinition> ? -
The full set of all possible "conceptual activities" that are related to this Milestone. Tiers or alternative modes of play within these conceptual activities will be defined as sub-entities. Keyed by the Conceptual Activity Hash. Use the key to look up DestinyActivityDefinition.
getter/setter pair
- destinationHash ↔ int?
-
Sometimes, a Milestone's quest is related to an entire Destination rather than a specific activity. In that situation, this will be the hash of that Destination. Hotspots are currently the only Milestones that expose this data, but that does not preclude this data from being returned for other Milestones in the future.
getter/setter pair
- displayProperties ↔ DestinyDisplayPropertiesDefinition?
-
The individual quests may have different definitions from the overall milestone: if there's a specific active quest, use these displayProperties instead of that of the overall DestinyMilestoneDefinition.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- overrideImage ↔ String?
-
If populated, this image can be shown instead of the generic milestone's image when this quest is live, or it can be used to show a background image for the quest itself that differs from that of the Activity or the Milestone.
getter/setter pair
- questItemHash ↔ int?
-
The item representing this Milestone quest. Use this hash to look up the DestinyInventoryItemDefinition for the quest to find its steps and human readable data.
getter/setter pair
- questRewards ↔ DestinyMilestoneQuestRewardsDefinition?
-
The rewards you will get for completing this quest, as best as we could extract them from our data. Sometimes, it'll be a decent amount of data. Sometimes, it's going to be sucky. Sorry.
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<DestinyMilestoneQuestDefinition>