FirstPartyEventLogger constructor
FirstPartyEventLogger({
- required String endpoint,
- int maxBatchSize = 200,
- int maxAttempts = 8,
- bool skipAuth = false,
- int baseBackoffDelayMs = 500,
- int maxBackoffDelayMs = 30000,
- required bool isKilled(),
- required Future<
Map< getAuthHeaders(),String, String> > - required Future<
void> httpPost(), - required String getUserAgent(),
Implementation
FirstPartyEventLogger({
required this.endpoint,
this.maxBatchSize = 200,
this.maxAttempts = 8,
this.skipAuth = false,
this.baseBackoffDelayMs = 500,
this.maxBackoffDelayMs = 30000,
required this.isKilled,
required this.getAuthHeaders,
required this.httpPost,
required this.getUserAgent,
});