location property
- @JsonKey(name: 'location', fromJson: decodeItemLocation, toJson: encodeItemLocation)
getter/setter pair
An easy reference for where the item is located. Redundant if you got the item from an Inventory, but useful when making detail calls on specific items.
Implementation
@JsonKey(name:'location',fromJson:decodeItemLocation,toJson:encodeItemLocation)
ItemLocation? location;