SystemEvent constructor

SystemEvent({
  1. required String eventName,
  2. required String sessionId,
  3. Map<String, dynamic> systemInfo = const {},
  4. String? level = 'info',
  5. String? source,
  6. DateTime? timestamp,
})

Implementation

SystemEvent({required this.eventName, required super.sessionId, this.systemInfo = const {}, this.level = 'info', this.source, DateTime? timestamp})
  : super(eventId: LogEvent.generateEventId(), timestamp: timestamp ?? DateTime.now(), type: LogEventType.systemEvent);