location property

  1. @JsonKey(name: 'location', fromJson: decodeItemLocation, toJson: encodeItemLocation)
ItemLocation? location
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;