DestinyItemObjectivesComponent class
Items can have objectives and progression. When you request this block, you will obtain information about any Objectives and progression tied to this item.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyItemObjectivesComponent()
-
DestinyItemObjectivesComponent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- dateCompleted ↔ String?
-
If we have any information on when these objectives were completed, this will be the date of that completion. This won't be on many items, but could be interesting for some items that do store this information.
getter/setter pair
- flavorObjective ↔ DestinyObjectiveProgress?
-
I may regret naming it this way - but this represents when an item has an objective that doesn't serve a beneficial purpose, but rather is used for "flavor" or additional information. For instance, when Emblems track specific stats, those stats are represented as Objectives on the item.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
objectives
↔ List<
DestinyObjectiveProgress> ? -
If the item has a hard association with objectives, your progress on them will be defined here.
Objectives are our standard way to describe a series of tasks that have to be completed for a reward.
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<DestinyItemObjectivesComponent>