ObslyEvent constructor

ObslyEvent({
  1. required String installationId,
  2. required DateTime timestamp,
  3. required String sessionId,
  4. required int sequence,
  5. required int type,
  6. String? executionId,
  7. String? eventId,
  8. String? name,
  9. ObslyEventExtra? extra,
  10. bool bg = false,
  11. String? processStep,
})

Implementation

ObslyEvent({
  required this.installationId,
  required this.timestamp,
  required this.sessionId,
  required this.sequence,
  required this.type,
  this.executionId,
  String? eventId,
  this.name,
  this.extra,
  this.bg = false,
  this.processStep,
}) : eventId = eventId ?? const Uuid().v4();