DestinyPublicMilestone class
Information about milestones, presented in a character state-agnostic manner. Combine this data with DestinyMilestoneDefinition to get a full picture of the milestone, which is basically a checklist of things to do in the game. Think of this as GetPublicAdvisors 3.0, for those who used the Destiny 1 API.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyPublicMilestone()
-
DestinyPublicMilestone.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activities
↔ List<
DestinyPublicMilestoneChallengeActivity> ? -
getter/setter pair
-
availableQuests
↔ List<
DestinyPublicMilestoneQuest> ? -
A milestone not need have even a single quest, but if there are active quests they will be returned here.
getter/setter pair
- endDate ↔ String?
-
If known, this is the date when the Milestone will expire/recycle/end.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- milestoneHash ↔ int?
-
The hash identifier for the milestone. Use it to look up the DestinyMilestoneDefinition for static data about the Milestone.
getter/setter pair
- order ↔ int?
-
Used for ordering milestones in a display to match how we order them in BNet. May pull from static data, or possibly in the future from dynamic information.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate ↔ String?
-
If known, this is the date when the Milestone started/became active.
getter/setter pair
-
vendorHashes
↔ List<
int> ? -
Sometimes milestones - or activities active in milestones - will have relevant vendors. These are the vendors that are currently relevant.
Deprecated, already, for the sake of the new "vendors" property that has more data. What was I thinking.
getter/setter pair
-
vendors
↔ List<
DestinyPublicMilestoneVendor> ? -
This is why we can't have nice things. This is the ordered list of vendors to be shown that relate to this milestone, potentially along with other interesting data.
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<DestinyPublicMilestone>