DestinyMilestoneRewardCategoryDefinition class
The definition of a category of rewards, that contains many individual rewards.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyMilestoneRewardCategoryDefinition()
-
DestinyMilestoneRewardCategoryDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- categoryHash ↔ int?
-
Identifies the reward category. Only guaranteed unique within this specific component!
getter/setter pair
- categoryIdentifier ↔ String?
-
The string identifier for the category, if you want to use it for some end. Guaranteed unique within the specific component.
getter/setter pair
- displayProperties ↔ DestinyDisplayPropertiesDefinition?
-
Hopefully this is obvious by now.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- order ↔ int?
-
If you want to use BNet's recommended order for rendering categories programmatically, use this value and compare it to other categories to determine the order in which they should be rendered. I don't feel great about putting this here, I won't lie.
getter/setter pair
-
rewardEntries
↔ Map<
String, DestinyMilestoneRewardEntryDefinition> ? -
If this milestone can provide rewards, this will define the sets of rewards that can be earned, the conditions under which they can be acquired, internal data that we'll use at runtime to determine whether you've already earned or redeemed this set of rewards, and the category that this reward should be placed under.
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<DestinyMilestoneRewardCategoryDefinition>