specialItemType property

  1. @JsonKey(name: 'specialItemType', fromJson: decodeSpecialItemType, toJson: encodeSpecialItemType)
SpecialItemType? specialItemType
getter/setter pair

In Destiny 1, we identified some items as having particular categories that we'd like to know about for various internal logic purposes. These are defined in SpecialItemType, and while these days the itemCategoryHashes are the preferred way of identifying types, we have retained this enum for its convenience.

Implementation

@JsonKey(name:'specialItemType',fromJson:decodeSpecialItemType,toJson:encodeSpecialItemType)
SpecialItemType? specialItemType;