Inventory.fromJson constructor
Implementation
factory Inventory.fromJson(Map<String, dynamic> json) => Inventory()
..mPurchaseMap = Map<String, Purchase>.fromIterable(
json["mPurchaseMap"].entries,
key: (i) => i.key,
value: (i) => Purchase.fromJson(i.value))
..mSkuMap = Map<String, SkuDetails>.fromIterable(json["mSkuMap"].entries,
key: (i) => i.key, value: (i) => SkuDetails.fromJson(i.value));