DestinyPublicMilestoneActivity class
A milestone may have one or more conceptual Activities associated with it, and each of those conceptual activities could have a variety of variants, modes, tiers, what-have-you. Our attempts to determine what qualifies as a conceptual activity are, unfortunately, janky. So if you see missing modes or modes that don't seem appropriate to you, let us know and I'll buy you a beer if we ever meet up in person.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyPublicMilestoneActivity()
-
DestinyPublicMilestoneActivity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityHash ↔ int?
-
The hash identifier of the activity that's been chosen to be considered the canonical "conceptual" activity definition. This may have many variants, defined herein.
getter/setter pair
- activityModeHash ↔ int?
-
The hash identifier of the most specific Activity Mode under which this activity is played. This is useful for situations where the activity in question is - for instance - a PVP map, but it's not clear what mode the PVP map is being played under. If it's a playlist, this will be less specific: but hopefully useful in some way.
getter/setter pair
- activityModeType ↔ int?
-
The enumeration equivalent of the most specific Activity Mode under which this activity is played.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modifierHashes
↔ List<
int> ? -
The activity may have 0-to-many modifiers: if it does, this will contain the hashes to the DestinyActivityModifierDefinition that defines the modifier being applied.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variants
↔ List<
DestinyPublicMilestoneActivityVariant> ? -
Every relevant variation of this conceptual activity, including the conceptual activity itself, have variants defined here.
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<DestinyPublicMilestoneActivity>