PaymentConfig constructor

const PaymentConfig({
  1. required PaymentProvider provider,
  2. required String apiKey,
  3. required PaymentEnvironment environment,
  4. required String backendUrl,
  5. String? webhookUrl,
  6. Map<String, String>? customHeaders,
})

Implementation

const PaymentConfig({
  required this.provider,
  required this.apiKey,
  required this.environment,
  required this.backendUrl,
  this.webhookUrl,
  this.customHeaders,
});