requiredUnlocks property

  1. @JsonKey(name: 'requiredUnlocks')
List<int>? requiredUnlocks
getter/setter pair

If you can't buy the item due to a complex character state, these will be hashes for DestinyUnlockDefinitions that you can check to see messages regarding the failure (if the unlocks have human readable information: it is not guaranteed that Unlocks will have human readable strings, and your application will have to handle that) Prefer using failureIndexes instead. These are provided for informational purposes, but have largely been supplanted by failureIndexes.

Implementation

@JsonKey(name:'requiredUnlocks')
List<int>? requiredUnlocks;