LokotroPayConfig constructor

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

Implementation

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