IForeventsAPIConfig constructor

const IForeventsAPIConfig({
  1. required String projectKey,
  2. required String projectSecret,
  3. String baseUrl = 'https://api.iforevents.com',
  4. int batchSize = 10,
  5. int batchIntervalMs = 5000,
  6. int connectTimeoutMs = 10000,
  7. int receiveTimeoutMs = 10000,
  8. int sendTimeoutMs = 10000,
  9. bool enableRetry = true,
  10. int maxRetries = 3,
  11. int retryDelayMs = 1000,
  12. bool enableLogging = false,
  13. bool throwOnError = false,
  14. bool requeueFailedEvents = true,
})

Implementation

const IForeventsAPIConfig({
  required this.projectKey,
  required this.projectSecret,
  this.baseUrl = 'https://api.iforevents.com',
  this.batchSize = 10,
  this.batchIntervalMs = 5000,
  this.connectTimeoutMs = 10000,
  this.receiveTimeoutMs = 10000,
  this.sendTimeoutMs = 10000,
  this.enableRetry = true,
  this.maxRetries = 3,
  this.retryDelayMs = 1000,
  this.enableLogging = false,
  this.throwOnError = false,
  this.requeueFailedEvents = true,
});