RestorePurchasesResult.fromJson constructor

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

Implementation

RestorePurchasesResult.fromJson(Map<String, dynamic> json)
    : purchaserInfo = json.containsKey(_Keys.purchaserInfo) ? AdaptyPurchaserInfo.fromMap(json[_Keys.purchaserInfo]) : null,
      receipt = json[_Keys.receipt],
      googleValidationResult = json[_Keys.googleValidationResult];