PaymentConfig constructor
const
PaymentConfig({
- required PaymentProvider provider,
- required String apiKey,
- required PaymentEnvironment environment,
- required String backendUrl,
- String? webhookUrl,
- Map<
String, String> ? customHeaders,
Implementation
const PaymentConfig({
required this.provider,
required this.apiKey,
required this.environment,
required this.backendUrl,
this.webhookUrl,
this.customHeaders,
});