LokotroPayConfig constructor

const LokotroPayConfig({
  1. required String publishableKey,
  2. required LokotroPayEnvironment environment,
  3. String defaultLocale = 'fr',
  4. Duration? requestTimeout,
  5. void logger(
    1. String message
    )?,
  6. String? googlePayMerchantId,
  7. String? googlePayGatewayMerchantId,
  8. String? applePayMerchantId,
})

Implementation

const LokotroPayConfig({
  required this.publishableKey,
  required this.environment,
  this.defaultLocale = 'fr',
  this.requestTimeout,
  this.logger,
  this.googlePayMerchantId,
  this.googlePayGatewayMerchantId,
  this.applePayMerchantId,
})  : assert(publishableKey != '', 'publishableKey must not be empty'),
      assert(defaultLocale != '', 'defaultLocale must not be empty');