DestinyActivityChallengeDefinition class
Represents a reference to a Challenge, which for now is just an Objective.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyActivityChallengeDefinition()
-
DestinyActivityChallengeDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
dummyRewards
↔ List<
DestinyItemQuantity> ? -
The rewards as they're represented in the UI. Note that they generally link to "dummy" items that give a summary of rewards rather than direct, real items themselves.
If the quantity is 0, don't show the quantity.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectiveHash ↔ int?
-
The hash for the Objective that matches this challenge. Use it to look up the DestinyObjectiveDefinition.
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<DestinyActivityChallengeDefinition>