PurchasesError.fromJson constructor
Implementation
factory PurchasesError.fromJson(Map<String, dynamic> json) => PurchasesError(
_purchasesErrorCodeFromJson((json['code'] as num).round()),
json['message'] as String,
json['underlyingErrorMessage'] as String,
json['readableErrorCode'] as String? ?? '',
);