IForeventsAPIConfig constructor
const
IForeventsAPIConfig({
- required String projectKey,
- required String projectSecret,
- String baseUrl = 'https://api.iforevents.com',
- int batchSize = 10,
- int batchIntervalMs = 5000,
- int connectTimeoutMs = 10000,
- int receiveTimeoutMs = 10000,
- int sendTimeoutMs = 10000,
- bool enableRetry = true,
- int maxRetries = 3,
- int retryDelayMs = 1000,
- bool enableLogging = false,
- bool throwOnError = false,
- 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,
});