DestinyQuestStatus class

Data regarding the progress of a Quest for a specific character. Quests are composed of multiple steps, each with potentially multiple objectives: this QuestStatus will return Objective data for the currently active step in this quest.

Annotations
  • @JsonSerializable()

Constructors

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

Properties

completed bool?
Whether or not the whole quest has been completed, regardless of whether or not you have redeemed the rewards for the quest.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemInstanceId String?
The current Quest Step will be an instanced item in the player's inventory. If you care about that, this is the instance ID of that item.
getter/setter pair
questHash int?
The hash identifier for the Quest Item. (Note: Quests are defined as Items, and thus you would use this to look up the quest's DestinyInventoryItemDefinition). For information on all steps in the quest, you can then examine its DestinyInventoryItemDefinition.setData property for Quest Steps (which are also items). You can use the Item Definition to display human readable data about the overall quest.
getter/setter pair
redeemed bool?
Whether or not you have redeemed rewards for this quest.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started bool?
Whether or not you have started this quest.
getter/setter pair
stepHash int?
The hash identifier of the current Quest Step, which is also a DestinyInventoryItemDefinition. You can use this to get human readable data about the current step and what to do in that step.
getter/setter pair
stepObjectives List<DestinyObjectiveProgress>?
A step can have multiple objectives. This will give you the progress for each objective in the current step, in the order in which they are rendered in-game.
getter/setter pair
tracked bool?
Whether or not the quest is tracked
getter/setter pair
vendorHash int?
If the quest has a related Vendor that you should talk to in order to initiate the quest/earn rewards/continue the quest, this will be the hash identifier of that Vendor. Look it up its 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<DestinyQuestStatus>