DestinyMilestoneQuest class

If a Milestone has one or more Quests, this will contain the live information for the character's status with one of those quests.

Annotations
  • @JsonSerializable()

Constructors

DestinyMilestoneQuest()
DestinyMilestoneQuest.fromJson(Map<String, dynamic> json)
factory

Properties

activity DestinyMilestoneActivity?
IF the Milestone has an active Activity that can give you greater details about what you need to do, it will be returned here. Remember to associate this with the DestinyMilestoneDefinition's activities to get details about the activity, including what specific quest it is related to if you have multiple quests to choose from.
getter/setter pair
challenges List<DestinyChallengeStatus>?
The activities referred to by this quest can have many associated challenges. They are all contained here, with activityHashes so that you can associate them with the specific activity variants in which they can be found. In retrospect, I probably should have put these under the specific Activity Variants, but it's too late to change it now. Theoretically, a quest without Activities can still have Challenges, which is why this is on a higher level than activity/variants, but it probably should have been in both places. That may come as a later revision.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
questItemHash int?
Quests are defined as Items in content. As such, this is the hash identifier of the DestinyInventoryItemDefinition that represents this quest. It will have pointers to all of the steps in the quest, and display information for the quest (title, description, icon etc) Individual steps will be referred to in the Quest item's DestinyInventoryItemDefinition.setData property, and themselves are Items with their own renderable data.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status DestinyQuestStatus?
The current status of the quest for the character making the request.
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<DestinyMilestoneQuest>