IaphubRestoreResponse.fromJson constructor
Constructor from JSON
Implementation
IaphubRestoreResponse.fromJson(Map<String, dynamic> json)
: newPurchases = (json["newPurchases"] ?? [])
.map<IaphubTransaction>((data) => IaphubTransaction.fromJson(data))
.toList(),
transferredActiveProducts = (json["transferredActiveProducts"] ?? [])
.map<IaphubActiveProduct>(
(data) => IaphubActiveProduct.fromJson(data))
.toList();