PurchaseId.fromJson constructor

PurchaseId.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PurchaseId.fromJson(Map<String, dynamic> json) => PurchaseId(
  purchaseId: json["purchase_id"],
  purchaseType: json["purchase_type"],
);