grantDestinySubType property

  1. @JsonKey(name: 'grantDestinySubType', fromJson: decodeDestinyItemSubType, toJson: encodeDestinyItemSubType)
DestinyItemSubType? grantDestinySubType
getter/setter pair

If an item belongs to this category, it will also receive this subtype enum value. I know what you're thinking - what if it belongs to multiple categories that provide sub-types? The last one processed wins, as is the case with all of these "grant" enums. Now you can see one reason why we moved away from these enums... but they're so convenient when they work, aren't they?

Implementation

@JsonKey(name:'grantDestinySubType',fromJson:decodeDestinyItemSubType,toJson:encodeDestinyItemSubType)
DestinyItemSubType? grantDestinySubType;