StripeError constructor

StripeError({
  1. dynamic charge,
  2. StripeErrorCode? code,
  3. dynamic declineCode,
  4. dynamic detail,
  5. dynamic docUrl,
  6. dynamic headers,
  7. dynamic message,
  8. dynamic param,
  9. dynamic paymentIntent,
  10. dynamic paymentMethod,
  11. dynamic raw,
  12. dynamic rawType,
  13. dynamic requestId,
  14. dynamic setupIntent,
  15. dynamic source,
  16. dynamic statusCode,
  17. StripeErrorType? type,
  18. dynamic cancellationReason,
})

Implementation

StripeError(
    {this.charge,
    this.code,
    this.declineCode,
    this.detail,
    this.docUrl,
    this.headers,
    this.message,
    this.param,
    this.paymentIntent,
    this.paymentMethod,
    this.raw,
    this.rawType,
    this.requestId,
    this.setupIntent,
    this.source,
    this.statusCode,
    this.type,
    this.cancellationReason});