BackdoorFlutterException constructor

BackdoorFlutterException({
  1. required String message,
  2. required BackdoorFlutterExceptionType type,
  3. String? apiResponse,
  4. StackTrace? stackTrace,
  5. BackdoorPaymentModel? operationConfiguration,
})

Creates an instance of BackdoorFlutterException.

message - A descriptive message about the error. type - The type of the exception. apiResponse - Optional response from the API, if applicable. stackTrace - Optional stack trace of the error for debugging. operationConfiguration - Optional configuration associated with the operation that caused the error.

Implementation

BackdoorFlutterException({
  required this.message,
  required this.type,
  this.apiResponse,
  this.stackTrace,
  this.operationConfiguration,
});