LatestReceiptInfo.fromJson constructor

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

Implementation

factory LatestReceiptInfo.fromJson(Map<String, dynamic> json) => LatestReceiptInfo(
      quantity: json["quantity"],
      productId: json["product_id"],
      transactionId: json["transaction_id"],
      originalTransactionId: json["original_transaction_id"],
      purchaseDate: json["purchase_date"],
      purchaseDateMs: json["purchase_date_ms"],
      purchaseDatePst: json["purchase_date_pst"],
      originalPurchaseDate: json["original_purchase_date"],
      originalPurchaseDateMs: json["original_purchase_date_ms"],
      originalPurchaseDatePst: json["original_purchase_date_pst"],
      expiresDate: json["expires_date"],
      expiresDateMs: json["expires_date_ms"],
      expiresDatePst: json["expires_date_pst"],
      webOrderLineItemId: json["web_order_line_item_id"],
      isTrialPeriod: json["is_trial_period"],
      isInIntroOfferPeriod: json["is_in_intro_offer_period"],
      subscriptionGroupIdentifier: json["subscription_group_identifier"],
    );