EventsBase constructor

EventsBase({
  1. required String eventType,
  2. DateTime? timestamp,
  3. String? userId,
  4. String? barcode,
  5. int? points,
})

Implementation

EventsBase({
  required this.eventType,
  this.timestamp,
  this.userId,
  this.barcode,
  this.points,
});