DestinyMilestoneActivityVariantDefinition class
Represents a variant on an activity for a Milestone: a specific difficulty tier, or a specific activity variant for example. These will often have more specific details, such as an associated Guided Game, progression steps, tier-specific rewards, and custom values.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyMilestoneActivityVariantDefinition()
-
DestinyMilestoneActivityVariantDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityHash ↔ int?
-
The hash to use for looking up the variant Activity's definition (DestinyActivityDefinition), where you can find its distinguishing characteristics such as difficulty level and recommended light level.
Frequently, that will be the only distinguishing characteristics in practice, which is somewhat of a bummer.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- order ↔ int?
-
If you care to do so, render the variants in the order prescribed by this value.
When you combine live Milestone data with the definition, the order becomes more useful because you'll be cross-referencing between the definition and live data.
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<DestinyMilestoneActivityVariantDefinition>