PurchaseError constructor

PurchaseError({
  1. required String message,
  2. String? name,
  3. int? responseCode,
  4. String? debugMessage,
  5. ErrorCode? code,
  6. String? productId,
  7. IapPlatform? platform,
})

Implementation

PurchaseError({
  required this.message,
  String? name,
  this.responseCode,
  this.debugMessage,
  this.code,
  this.productId,
  this.platform,
}) : name = name ?? '[flutter_inapp_purchase]: PurchaseError';