UsageEventStore constructor
UsageEventStore(})
Implementation
UsageEventStore(
this.dataDir, {
this.rotateBytes = 5 * 1024 * 1024,
this.keepOnRotate = 5000,
this.archiveMaxBytes = 20 * 1024 * 1024,
this.retryAfter = const Duration(minutes: 5),
}) {
lastId = _readLastId();
}